错误:
[2011-06-30 16:44:34 - Bobo_RacingCar] Android Launch!
[2011-06-30 16:44:34 - Bobo_RacingCar] adb is running normally.
[2011-06-30 16:44:34 - Bobo_RacingCar] Performing com.holpe.activity.Main activity launch
[2011-06-30 16:44:34 - Bobo_RacingCar] Automatic Target Mode: using device '0163D3E416034017'
[2011-06-30 16:44:34 - Bobo_RacingCar] WARNING: Application does not specify an API level requirement!
[2011-06-30 16:44:34 - Bobo_RacingCar] Device API version is 10 (android 2.3.4)
[2011-06-30 16:44:34 - Bobo_RacingCar] Uploading Bobo_RacingCar.apk onto device '0163D3E416034017'
[2011-06-30 16:44:35 - Bobo_RacingCar] Installing Bobo_RacingCar.apk...
[2011-06-30 16:44:36 - Bobo_RacingCar] Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE
[2011-06-30 16:44:36 - Bobo_RacingCar] Please check logcat output for more details.
[2011-06-30 16:44:36 - Bobo_RacingCar] Launch canceled!
安装出错原因:
在反复安装android apk的时候,有的时候可能会遇到adb install错误,内容是:Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
这很可能是因为你在以前uninstall应用的时候,没有做彻底
其他我就不说了,说个操作简单解决办法:
adb uninstall package-name (这个在adb的帮助文档中没有说明,但可以用)
什么,不知道package-name?看看你的AndroidManifest.xml中有个必须的属性就是package,它所指定的就是package-name。
转载地址:write.blog.csdn.net/postedit?ref=toolbar&ticket=ST-489132-AitHK7jqdsp6zfDmzd9i-passport.csdn.net