照抄某书上的例子,写了代码,运行,结果总是:
[2012-11-08 22:03:33 - Bra] ------------------------------
[2012-11-08 22:03:33 - Bra] Android Launch!
[2012-11-08 22:03:33 - Bra] adb is running normally.
[2012-11-08 22:03:33 - Bra] Performing com.example.bra.MainActivity activity launch
[2012-11-08 22:03:33 - Bra] Automatic Target Mode: using existing emulator 'emulator-5556' running compatible AVD 'AVD2.2'
[2012-11-08 22:03:33 - Bra] Uploading Bra.apk onto device 'emulator-5556'
[2012-11-08 22:03:33 - Bra] Installing Bra.apk...
[2012-11-08 22:05:46 - Bra] Failed to install Bra.apk on device 'emulator-5556!
[2012-11-08 22:05:46 - Bra] (null)
[2012-11-08 22:05:47 - Bra] Launch canceled!这可能是什么原因?

解决方案 »

  1.   

    You can start the emulator manually by going to the Window menu in Eclipse, selecting "the Android SDK and ADBmanager," clicking on the emulator you created and then clicking on the Start button. Wait until you see the home screen. then run yourandroid project from eclipse.
      

  2.   

    重新启动Eclipse后,不出这个问题了。妈的。