安装错误:未知故障(Android模拟器) [英] Installing error: Unkown failure (android emulator)
问题描述
所以我一直都在做这个应用程序的proyect,我的模拟器一直工作正常,直到今天早些时候,它已经6个小时左右试图解决这一问题,也没有办法解决它。 Ived擦除日食并重新安装它,重新安装Android SDK中,ADT。一切,我不断收到同样的messege试图运行我的Android应用程序时。
so ive been working on this app for a proyect, and my emulators have been working fine, up until earlier today, its been 6 hours or so trying to fix this and there is no way to fix it. Ived erased eclipse and reinstalled it, reinstall android sdk,adt. everything and i keep getting the same messege when trying to run my android application.
[2014-03-18 03:02:56 - Contact_List] Android Launch!
[2014-03-18 03:02:56 - Contact_List] adb is running normally.
[2014-03-18 03:02:56 - Contact_List] Performing com.example.contact_list.MainActivity activity launch
[2014-03-18 03:02:56 - Contact_List] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tester'
[2014-03-18 03:02:56 - Contact_List] Uploading Contact_List.apk onto device 'emulator-5554'
[2014-03-18 03:02:56 - Contact_List] Installing Contact_List.apk...
[2014-03-18 03:02:59 - Contact_List] Installation error: Unknown failure
[2014-03-18 03:02:59 - Contact_List] Please check logcat output for more details.
[2014-03-18 03:02:59 - Contact_List] Launch canceled!
这是每次顶我打开AVD对日食它不会让我创建一个虚拟设备,我直来直去的ADT文件夹并打开AVD.exe。
on top of that everytime I open the AVD on eclipse it wont let me create a virtual device, I have to go straight to the adt folder and open the AVD.exe.
什么办法来解决这一问题?是它全新的Android ADT版本22.6? 因为这一切happend后,我的日食做了一些更新。 我也尝试恢复更新,它没有工作。
any way to fix this? is it the new android adt version 22.6? because it all happend after my eclipse did some updates. I also tried reverting the updates and it didnt work.
推荐答案
ADT版本22.6.3 Java编译器1.7我有同样的问题。但我解决了它。在我的情况
用于未来发射
被检查相同的设备。它尝试在previous模拟器上运行。所以
转到运行配置 - >靶子>取消选中使用相同的设备,用于未来发射
如果你想要检查总是提示来接设备
让你得到的选择。
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
这篇关于安装错误:未知故障(Android模拟器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!