Android Emulator Fails To Launch :: Failed to install apk on device 'emulator-5554': null

可紊 提交于 2020-01-16 03:40:07

问题


This is the background of my setup.

Eclipse version Indigo. Windows 7

Since of two days I am failing to launch my applications on the emulator. I get the below error on DDMS Console.

[2014-01-27 12:36:11 - NVProductManager] New emulator found: emulator-5554
[2014-01-27 12:36:11 - NVProductManager] Waiting for HOME ('android.process.acore') to be launched...
[2014-01-27 12:36:57 - NVProductManager] HOME is up on device 'emulator-5554'
[2014-01-27 12:36:57 - NVProductManager] Uploading NVProductManager.apk onto device 'emulator-5554'
[2014-01-27 12:37:07 - NVProductManager] Installing NVProductManager.apk...
[2014-01-27 12:39:19 - NVProductManager] Failed to install NVProductManager.apk on device 'emulator-5554!
[2014-01-27 12:39:19 - NVProductManager] (null)
[2014-01-27 12:40:19 - NVProductManager] Failed to install NVProductManager.apk on device 'emulator-5554': null
[2014-01-27 12:40:19 - NVProductManager] com.android.ddmlib.InstallException
[2014-01-27 12:40:19 - NVProductManager] Launch canceled!

I have cleaned my projects, restarted eclipse and increased the ADB timeout to 60000,killed the adb.exe,tried setting a new device in AVD but still haven't found the culprit.

Any help is greatly appreciated.


回答1:


Try to run the emulator separately from AVD Manager, Then after its up and running and you were able to see the Home screen, at that time you can Run you application from Eclipse IDE, targeting to this specific Emulator.Your app will run smoothly.




回答2:


I'm running Eclipse Luna on a Linux Virtual Machine for Android Development using Oracle Virtual Box. I was facing issues when trying to run Projects on an Android Phone like described: Failed to install *apk.

I solved it by setting "USB 2.0 (EHCI) Controller" on Android Virtual Box----> Virtual Machine --->Virtual Machine Configuration ----> USB.

Prior to set USB 2.0 I had to install "Oracle VM VirtualBox Extension Pack" from https://www.virtualbox.org/wiki/Downloads




回答3:


Update the Android SDK Manager by windows->Android SDK Manager. Then create new AVD Manager hope these will works



来源:https://stackoverflow.com/questions/21375069/android-emulator-fails-to-launch-failed-to-install-apk-on-device-emulator-55

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!