Can't deploy game to android from editor (play button)

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

Some log from logcat:

                                       
                                       
                                       [ 03-13 00:21:03.177   590:  836 E/         ]
                                       Couldn't opendir /data/app/vmdl1090583705.tmp: No such file or directory
03-13 00:21:03.177 590-836/? E/installd: Failed to delete /data/app/vmdl1090583705.tmp: No such file or directory
03-13 00:21:04.045 809-3081/? I/nanohub: osLog: [AR_CHRE] still: 100
03-13 00:21:08.376 809-10174/? I/ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=org.godotengine.plane/org.godotengine.godot.Godot} from uid 2000

Looks weird, I have no idea what is data/app/vmdl1090583705.tmp
The app just doesn’t appear on the phone. And no errors in godot editor.
I’m using nexus 6p with android 8.1.0

:bust_in_silhouette: Reply From: Ademar Peixoto

Hi there

I just get here from a google search but seems we had the same problem and I figured out how to solve minutes ago, so… here it is
The problem is that are some files that don’t get removed when the app was uninstalled, so do you need to force a second uninstalation of the game/app via adb shell :

adb shell pm uninstall applicationId

where applicationId its your app name ( something like my.awesome.game ) , this info its in your build.gradle.

And that’s it. hope this can help anyone with the same problem.