我开始学习如何制作Android应用程序,我对此感到非常高兴。但是,对我来说,一切似乎都有问题。我有sdk(固定)和eclipse的问题(为什么它会崩溃?!)。但是现在我刚刚创建了我的新Hello World应用程序,当我将手机连接到计算机(中兴Skate Acqua,Android 4.0.4,启用Debbugging)时,它在控制台中给出了这个:
[2014-09-24 22:19:39 - AndroidTest] ------------------------------
[2014-09-24 22:19:39 - AndroidTest] Android Launch!
[2014-09-24 22:19:39 - AndroidTest] adb is running normally.
[2014-09-24 22:19:40 - AndroidTest] Performing me.pta2002.androidtest.MainActivity activity launch
[2014-09-24 22:19:40 - AndroidTest] Automatic Target Mode: using device 'emulator-5554'
[2014-09-24 22:19:40 - AndroidTest] Uploading AndroidTest.apk onto device 'emulator-5554'
[2014-09-24 22:19:41 - AndroidTest] Installing AndroidTest.apk...
[2014-09-24 22:19:42 - AndroidTest] Installation error: Unknown failure
[2014-09-24 22:19:42 - AndroidTest] Please check logcat output for more details.
[2014-09-24 22:19:42 - AndroidTest] Launch canceled!
[2014-09-24 22:19:44 - AndroidTest] ------------------------------
[2014-09-24 22:19:44 - AndroidTest] Android Launch!
[2014-09-24 22:19:44 - AndroidTest] adb is running normally.
[2014-09-24 22:19:44 - AndroidTest] Performing me.pta2002.androidtest.MainActivity activity launch
[2014-09-24 22:19:45 - AndroidTest] Automatic Target Mode: using device 'emulator-5554'
[2014-09-24 22:19:45 - AndroidTest] Uploading AndroidTest.apk onto device 'emulator-5554'
[2014-09-24 22:19:46 - AndroidTest] Installing AndroidTest.apk...
[2014-09-24 22:19:47 - AndroidTest] Installation error: Unknown failure
[2014-09-24 22:19:47 - AndroidTest] Please check logcat output for more details.
[2014-09-24 22:19:47 - AndroidTest] Launch canceled!
[2014-09-24 22:21:14 - AndroidTest] ------------------------------
[2014-09-24 22:21:14 - AndroidTest] Android Launch!
[2014-09-24 22:21:14 - AndroidTest] adb is running normally.
[2014-09-24 22:21:14 - AndroidTest] Performing me.pta2002.androidtest.MainActivity activity launch
[2014-09-24 22:21:15 - AndroidTest] Automatic Target Mode: using device 'emulator-5554'
[2014-09-24 22:21:15 - AndroidTest] Uploading AndroidTest.apk onto device 'emulator-5554'
[2014-09-24 22:21:16 - AndroidTest] Installing AndroidTest.apk...
[2014-09-24 22:21:17 - AndroidTest] Installation error: Unknown failure
[2014-09-24 22:21:17 - AndroidTest] Please check logcat output for more details.
[2014-09-24 22:21:17 - AndroidTest] Launch canceled!
[2014-09-24 22:22:44 - AndroidTest] ------------------------------
[2014-09-24 22:22:44 - AndroidTest] Android Launch!
[2014-09-24 22:22:44 - AndroidTest] adb is running normally.
[2014-09-24 22:22:44 - AndroidTest] Performing me.pta2002.androidtest.MainActivity activity launch
[2014-09-24 22:22:44 - AndroidTest] Automatic Target Mode: using device 'emulator-5554'
[2014-09-24 22:22:44 - AndroidTest] Uploading AndroidTest.apk onto device 'emulator-5554'
[2014-09-24 22:22:45 - AndroidTest] Installing AndroidTest.apk...
[2014-09-24 22:22:46 - AndroidTest] Installation error: Unknown failure
[2014-09-24 22:22:46 - AndroidTest] Please check logcat output for more details.
[2014-09-24 22:22:46 - AndroidTest] Launch canceled!
[2014-09-24 22:23:48 - AndroidTest] ------------------------------
[2014-09-24 22:23:48 - AndroidTest] Android Launch!
[2014-09-24 22:23:48 - AndroidTest] adb is running normally.
[2014-09-24 22:23:48 - AndroidTest] Performing me.pta2002.androidtest.MainActivity activity launch
[2014-09-24 22:23:50 - AndroidTest] Automatic Target Mode: using device 'emulator-5554'
[2014-09-24 22:23:50 - AndroidTest] Uploading AndroidTest.apk onto device 'emulator-5554'
[2014-09-24 22:23:51 - AndroidTest] Installing AndroidTest.apk...
[2014-09-24 22:23:51 - AndroidTest] Installation error: Unknown failure
[2014-09-24 22:23:51 - AndroidTest] Please check logcat output for more details.
[2014-09-24 22:23:51 - AndroidTest] Launch canceled!
我不知道发生了什么事。我知道有一个"未知的失败",但由于它未知,我不知道它是什么。它在AVD上运行良好,但启动需要很长时间。 (LogCat日志:http://pastebin.com/n7fxPcDJ)