How to export app to Android device?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By

I tryed to export app to android with Project → Export → Android → Export project. I saved it to internal storage of my phone (Xiaomi Redmi 6), but it don’t want to install.

The second way I tryed it, through a button of Android in the engine, (debugging USB). But it throws up an error message:

jar verified.
Installing to device (please wait…): Xiaomi Redmi 6
Performing Streamed Install
adb: failed to install C:\Users\Admin\AppData\Local\Temp/Godot/tmpexport.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl447069682.tmp/base.apk: File assets/metrotičll.png.import in manifest does not exist]
Starting: Intent { act=android.intent.action.MAIN }
Error type 3
Error: Activity class {} does not exist.

Can anybody help me?

Are you using a custom build? I’m having a similar issue, but my app crashes using a custom build with that error “} does not exist”.

vetu11 | 2020-09-10 11:58

:bust_in_silhouette: Reply From: Scavex

Maybe you haven’t configured the Export Settings. Can you tell me what have you done in the Keystore section in the Export settings. Just go to Project and then Export and you’ll see Keystore somewhere in the options. Tell me what user debug and password you have provided there ?

User debug: yourKeyAlias
Password: randompassword | 2020-09-10 17:43

Have you selected the keystore file ? How about you try
User debug: androiddebugkey
Password: android

Scavex | 2020-09-10 17:46

I don’t have selected the keystore file. How can I do this? | 2020-09-10 18:17