大多数时候,我在我的手机上使用和调试我的android应用程序都很正常。然后,看起来很随意的,当我尝试在Eclipse运行和调试我的应用程序的时候,Eclipse的控制台提示:
[2012-09-18 09:36:48 - myapp] Android Launch!
[2012-09-18 09:36:48 - myapp] adbis running normally.
[2012-09-18 09:36:48 - myapp] Performing com.mycompany.myapp.MyActivity activity launch
[2012-09-18 09:36:48 - myapp] Automatic Target Mode: using device'HT01TP800561'
[2012-09-18 09:36:48 - myapp] Uploading myapp.apk onto device'HT01TP800561'
[2012-09-18 09:36:48 - myapp] Failed to upload myapp.apk on device'HT01TP800561'
[2012-09-18 09:36:48 - myapp] java.io.IOException: Unable to open sync connection!
[2012-09-18 09:36:48 - myapp] Launch canceled!
- 重试:没用,同样的提示。
- 重启Eclipse,没用
- 重启adb(杀掉adb的进程和开始进程):没有错误,没有用
- 重连手机:有一些作用
- 重启电脑:各种方法,还没有试验
使用的是Ubuntu 10.4, Eclipse Galileo 3.5.2, Android SDK 7, ADT plugin 0.9.6, Nexus One, Android 2.2.1.
有好的办法么?