Search code examples
androidgenymotion

i cant run my app in genymtion


when i want to debug my app in genymotion, android studio give me this error: enter image description here

but app is not install and after ok :

 Failure details: Bundle[{android.content.pm.extra.STATUS=1, 
android.content.pm.extra.PACKAGE_NAME=ir.esfandune.mohsen, 
android.content.pm.extra.LEGACY_STATUS=-1, 
android.content.pm.extra.STATUS_MESSAGE=DELETE_FAILED_INTERNAL_ERROR}]

Solution

  • According to this answer you are getting this problem cause your app has a native libraries that can't be supported by the cpu architecture of GenyMotion, and this is true, I experienced this problem my self in GenyMotion when tried to launch an activity that calls a native library, despite I added a support to arm and x86 but still didn't work, and you can't control cpu type through GenyMotion device settings as GenyMotion uses VM-VirsualBox to create virstual devices with a linux based operating system on your machine.

    To solve this problem, you can download Arm Translation Installer as mentioned in this answer, or you can easily try it on a real device and it will work as predicted.