Reputation: 6736
I am trying to install an apk in the emulator using following command:
adb install xyz.apk
But it takes forever and then hangs the emulator.
I don't know what to do cause I have tried the following
Start the emulator with big partition size
emulator @test -no-boot-anim -partition-size 256
(same problem)
Install in a new emulator same result.
Please Help me. Thanks in advance.
Upvotes: 5
Views: 4720
Reputation: 1317
This install hang can also happen if you build the APK for ARMv7 only and then try to install it on the emulator because the emulator requires an x86 image.
Upvotes: 1
Reputation: 4382
Just increase internal storage of your emulator and try again. try to install apk after emulator working properly. I had same problem last week but i increased it to 512 and problem has been solved.
Hope it will help you.
Upvotes: 6
Reputation: 21551
Just increase the emulator internal storage by go to Android Virtual Device Manager-->select emulator-->edit--> Internal Storage-->increase size to >512-->OK and try..
Upvotes: 6