Android Emulator Fails To Launch :: Failed to inst

2019-08-04 09:22发布

问题:

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