could not access the package manager. is the system running while installing android application

arunkumar.p picture arunkumar.p · Mar 20, 2013 · Viewed 99.6k times · Source

While installing the android application in the emulator I am getting the following error.

Please help me to resolve this error.

Error message:

emulator.exe -avd avd_name

adb wait-for-device    

adb install path-to.apk    

could not access the package manager. is the system running while installing android application....

Answer

ssaltman picture ssaltman · Aug 11, 2013

You need to wait for the emulator to full start - takes a few minutes. Once it is fully started (UI on the emulator will change), it should work.

You will need to restart the app after the emulator is running and choose the running emulator when prompted.