SMR
SMR

Reputation: 6736

installing APK via ADB hangs the emulator

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

  1. Start the emulator with big partition size
    emulator @test -no-boot-anim -partition-size 256
    (same problem)

  2. Install in a new emulator same result.

Please Help me. Thanks in advance.

Upvotes: 5

Views: 4720

Answers (3)

Stu
Stu

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

Sanket Shah
Sanket Shah

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

Shailendra Madda
Shailendra Madda

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

Related Questions