+1 vote

After exporting .apk file from Godot, I can install it on real device and run it. But can I run .apk file on Android Studio simulator? If not, which means I can only run on real device, then how to debug it?

in Engine by (32 points)

1 Answer

+3 votes
Best answer

If an emulator is running, near Godot play button (run) appears another button with green android bot icon.
Click on this button to launch your project on the emulator.

Otherwise in general:

1) Paste your APK file in the 'android-sdk\tools' or 'platform-tools' folder.
2) Then type the following command.

adb install [.apk path]

-j

by (1,484 points)
selected by

Nice I didn't realise it saw any emulator. That could be handy. Thank you

Cool! Thank you for your answer!

You can use this command to see devices connected to adb :

adb devices
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.