Unable to test app on Android device

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

I’m using Godot v4.0.2.stable.official on Ubuntu 22.04
My android device is Redmi9A with Android10.
I’ve followed the instructions about one-click-deploy and android-export, and I’ve connected my android device to the laptop, and typed ‘adb devices’ in a terminal with successful answer.

Having executed all these steps, I can not see the android icon on the top-right corner to perform one-click-deploy.

Furthermore, I’ve tried manual installtion:
I’ve exported the apk in a laptop folder, copied it into my android devedice’s downloads folder, and tapped it → my Android device says ‘Do you want to install this app?’ → I answer ‘yes’ → Android device answers ‘The app has not been instaled’ !!!
This is even more strange because I’ve manually installed other godot projects (with version 3.x).

Can anybody help with any of those two ways??

Did you check if the architecture option used to export the project is compatible with your android device?

josevjunior | 2023-04-23 13:59

Thanks for your comment, josevjunior. It seems to be one of the problems.
I thought the architecture option was properly set (arm 64). But I’ve cheked now the four options and ¡it works!

krippulo | 2023-04-24 16:12

:bust_in_silhouette: Reply From: ibrahim.semab

Hi there, now the android icon does not appear instead you have to click on Remote Debug button which is located beside the Run Current Scene button.

If you are unable to install apk make sure your debug keystore is not being used by another project.

Thank you very much for your help, ibrahim.
The debug keystore was not the problem (anyway, it’s something to keep in mind for the future) but, in relation with the Android icon, YOU ARE ABSOLUTELY RIGHT.
¡Silly me! I was just looking for the icon instead of moving the pointer over the icons and have a look a the hints or options they provide. I’m too old for such a newbie mistake!!

krippulo | 2023-04-24 16:18

If you are unable to get your problem solved use ChatGPT which is an amazing AI tool that can boost your productivity and maximize your work flow

ibrahim.semab | 2023-05-02 05:18