Hello! I'm having the issue that when I'm trying to use the editor for preview on phone. It Stucks at 66% and stops working. Godot read correctly my phone and I can select it. But at the moment it said installing in blocks at 66%. Just one time dont stuck but it gives me this error. Also when i try to install the APK directly it just stuck. Some ideas why Im doing wrong?

I follow this steps:


    papaya

    from the console your problem is with ADB installation, you sure you have the right paths configured in Godot?

    other thing that may help is setting the env vars JAVA_HOME, ANDROID_HOME, NDK_ROOT, and having the adb executable in the PATH

    otherwise you can reinstall Android SDK

      papalagi ok, i tested with another phone and it works.

      In Samsung I have Android 11 and doesn't work and stuck at 66%. But i get to install on a Redmi with MIUI 14 and Android 13. What I'm missing on the other phone? I'm migrating from unity and there i haven't issues. Is there any other configuration I'm missing?

      Try running "adb devices" from your shell. If it lists your android device, your adb is installed correctly. If not, post the output.

        papaya

        By "shell", I mean terminal, system console, dos box, etc. -- whatever you use to type in commands to the operating system. Then type in, literally "adb devices" and hit enter. It should list the android devices currently connected to your computer.

          duane thanks! Already done that. It detect perfectly both devices. The issue is that when I run in Redmi Note it runs perfectly. But when I run in a Samsung A10 build stuck in 66%. Don't know why.

          Godot outputs messages to the output pane when it's exporting to Android. Is there a difference in the messages that are output for the two devices?

          You can also export the project as an .apk file from Godot, and use adb to install it on the phone:
          https://developer.android.com/tools/adb#move

          That might (or might not) provide more information.

            DaveTheCoder about when build, the only difference is that when I click on "Remote debugging" with my SamsungA10 it stops at 66% and it just said, "Installing on device", then Godot freeze and I need to force closed because it can be perfectly like that more than 10 minutes. And when I build on RedmiNote11, it took just less than one minute on install and build.

            This is what console said:
            Installing to device (please wait...) : Samsung SM-A107M

            and puff Freeze and stop working. I'm using Windows 11.

              papaya Update about this.

              I manage to upload app to Play Store with everything in order. But when i installed on my Redmi Note (when I do remote debug it worked fine), when i download the app from the store it closed suddenly. And when I tried to install on the Samsung it keeps installing trough the store and never finish installing.

              And I manage to take a screenshot with this when building, not know if this works, I tested creating a new project and same issue, maybe something with Gradle is not well installed?:

              Ok. New Info found if someone can help me. I throw the abb bundle to Firebase test lab and I get this:

              *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
              Build fingerprint: 'google/redfin/redfin:11/RQ3A.211001.001/7641976:user/release-keys'
              Revision: 'MP1.0'
              ABI: 'arm64'
              Timestamp: 2023-10-01 18:24:03-0700
              pid: 7878, tid: 7878, name: mes.LoveSweeper >>> com.CutyDinaGames.LoveSweeper <<<
              uid: 10274
              signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
              Abort message: 'Throwing new exception 'no non-static method "Lorg/godotengine/godot/Godot;.setKeepScreenOn(Z)V"' with unexpected pending exception: java.lang.NoSuchMethodError: no non-static method "Lorg/godotengine/godot/Godot;.restart()V"
              at boolean org.godotengine.godot.GodotLib.initialize(android.app.Activity, org.godotengine.godot.Godot, android.content.res.AssetManager, org.godotengine.godot.GodotIO, org.godotengine.godot.utils.GodotNetUtils, org.godotengine.godot.io.directory.DirectoryAccessHandler, org.godotengine.godot.io.file.FileAccessHandler, boolean) (SourceFile:-2)
              at void org.godotengine.godot.Godot.X1() (SourceFile:-1)
              at void org.godotengine.godot.Godot.p0(android.os.Bundle) (SourceFile:-1)
              at void androidx.fragment.app.Fragment.U0(android.os.Bundle) (SourceFile:-1)
              at void androidx.fragment.app.u.e() (SourceFile:-1)
              at void androidx.fragment.app.u.m() (SourceFile:-1)
              at void androidx.fragment.app.n.d0(java.util.ArrayList, java.util.ArrayList, int, int) (SourceFile:-1)
              at void androidx.fragment.app.n.a1(java.util.ArrayList, java.util.ArrayList) (SourceFile:-1)
              at void androidx.fragment.app.n.b0(androidx.fragment.app.n$n, boolean) (SourceFile:-1)
              at void androidx.fragment.app.a.h() (SourceFile:-1)
              at void u2.b.onCreate(android.os.Bundle) (SourceFile:-1)
              at void com.godot.game.GodotApp.onCreate(android.os.Bundle) (SourceFile:-1)
              at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7994)
              at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7978)
              at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1309)
              at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:3404)
              at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3595)
              at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:85)
              at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:135)
              at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:95)
              at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:2066)
              at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
              at void android.os.Looper.loop() (Looper.java:223)
              at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7664)
              at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
              at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:592)
              at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:947)
              '
              x0 0000000000000000 x1 0000000000001ec6 x2 0000000000000006 x3 0000007fd4c96d00
              x4 feff1f5c32353539 x5 feff1f5c32353539 x6 feff1f5c32353539 x7 7f7f7f7f7f7f7f7f
              x8 00000000000000f0 x9 00000075acde87c0 x10 ffffff80fffffbdf x11 0000000000000001
              x12 00000000104c7c26 x13 38ed00000012810c x14 0000000000000000 x15 ffffffffffffffff
              x16 00000075ace80c80 x17 00000075ace62320 x18 00000075b027a000 x19 0000000000001ec6
              x20 0000000000001ec6 x21 00000000ffffffff x22 0000000000000002 x23 0000000000000002
              x24 0000007319aab000 x25 000000000000000f x26 00000075aedb886c x27 0000007319aad000
              x28 0000007319aae000 x29 0000007fd4c96d80
              lr 00000075ace16148 sp 0000007fd4c96ce0 pc 00000075ace16178 pst 0000000000001000

              Help? 🙁