Search code examples
androidperformanceandroid-emulatoradb

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.


Solution

  • 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.