Installing error: Unkown failure (android emulator)

こ雲淡風輕ζ 提交于 2019-12-04 16:23:49

ADT version 22.6.3 java compiler 1.7 I had same problem. But I solved it. In my case use same device for future launches was checked. which try to run on previous emulator. So Go To Run Configuration->Target->uncheck use same device for future launches if you want check Always prompt to pick device so that you get choice.

here is console where both problem and solution is here

[2014-06-08 16:51:14 - IMS_RMS] ------------------------------
[2014-06-08 16:51:15 - IMS_RMS] Android Launch!
[2014-06-08 16:51:15 - IMS_RMS] adb is running normally.
[2014-06-08 16:51:15 - IMS_RMS] Performing com.example.ims_rms.Splash activity launch
[2014-06-08 16:51:18 - IMS_RMS] Uploading IMS_RMS.apk onto device 'emulator-5554'
[2014-06-08 16:51:20 - IMS_RMS] Installing IMS_RMS.apk...
[2014-06-08 16:51:23 - IMS_RMS] Installation error: Unknown failure
[2014-06-08 16:51:23 - IMS_RMS] Please check logcat output for more details.
[2014-06-08 16:51:24 - IMS_RMS] Launch canceled!
[2014-06-08 16:53:49 - IMS_RMS] ------------------------------
[2014-06-08 16:53:49 - IMS_RMS] Android Launch!
[2014-06-08 16:53:49 - IMS_RMS] adb is running normally.
[2014-06-08 16:53:49 - IMS_RMS] Performing com.example.ims_rms.Splash activity launch
[2014-06-08 16:53:59 - IMS_RMS] Launch canceled!
[2014-06-08 17:01:28 - IMS_RMS] ------------------------------
[2014-06-08 17:01:28 - IMS_RMS] Android Launch!
[2014-06-08 17:01:28 - IMS_RMS] adb is running normally.
[2014-06-08 17:01:29 - IMS_RMS] Performing com.example.ims_rms.Splash activity launch
[2014-06-08 17:01:44 - IMS_RMS] Uploading IMS_RMS.apk onto device 'emulator-5556'
[2014-06-08 17:01:48 - IMS_RMS] Installing IMS_RMS.apk...
[2014-06-08 17:02:35 - IMS_RMS] Success!
[2014-06-08 17:02:41 - IMS_RMS] Starting activity com.example.ims_rms.Splash on device emulator-5556

goto Run as-> run configure->target at the end find a tag "use the same device for future launches" remove the tick of check box. Again run application

If You Running In Eclipse, Check Your Settings.

Run Configurations - Common - Select File In Standard Input And Output - Click

Workspace And Choose Your Project.

And Just Click Run.

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