Android的ADB"!无法打开同步连接"无法打开、Android、ADB、QUOT

由网友(倾心相遇,安暖相陪)分享简介:我可以运行和调试我的我的手机上的Andr​​oid应用程序就好了,大部分的时间。于是,看似随意,当我尝试运行或调试从Eclipse的我的应用程序,控制台在Eclipse中说:I can run and debug my Android app on my phone just fine, most of the ti...

我可以运行和调试我的我的手机上的Andr​​oid应用程序就好了,大部分的时间。于是,看似随意,当我尝试运行或调试从Eclipse的我的应用程序,控制台在Eclipse中说:

I can run and debug my Android app on my phone just fine, most of the time. Then, seemingly randomly, when I try to run or debug my app from Eclipse, the Console in Eclipse says:

[2010-10-12 09:36:48 - myapp] Android Launch!
[2010-10-12 09:36:48 - myapp] adb is running normally.
[2010-10-12 09:36:48 - myapp] Performing com.mycompany.myapp.MyActivity activity launch
[2010-10-12 09:36:48 - myapp] Automatic Target Mode: using device 'HT01TP800561'
[2010-10-12 09:36:48 - myapp] Uploading myapp.apk onto device 'HT01TP800561'
[2010-10-12 09:36:48 - myapp] Failed to upload myapp.apk on device 'HT01TP800561'
[2010-10-12 09:36:48 - myapp] java.io.IOException: Unable to open sync connection!
[2010-10-12 09:36:48 - myapp] Launch canceled!

重试:没有帮助,相同的消息 重启Eclipse:没有帮助 在亚行重新启动( ADB killserver和放大器;&安培;亚行启动服务器):没有错误,没有帮助 重新连接电话:有时的帮助 重新启动计算机:那种激烈的,没有试过尚未。

Retry: doesn't help, same messages. Restart Eclipse: doesn't help. Restart adb (adb killserver && adb start-server): no errors, doesn't help. Reconnect the phone: sometimes helps. Reboot the computer: kind of drastic, haven't tried this yet.

使用Ubuntu 10.4,伽利略的Eclipse 3.5.2,Android的SDK 7,ADT插件0.9.6,Nexus One的,安卓2.2.1。

Using Ubuntu 10.4, Eclipse Galileo 3.5.2, Android SDK 7, ADT plugin 0.9.6, Nexus One, Android 2.2.1.

什么好主意?

推荐答案

我有完全相同的问题,但我已经有我的手机连接到电脑的USB端口。有时,断开并重新连接电源线的工作,但随后完全停止工作。 但是,禁用USB调试在手机上,然后重新启用它迄今的工作。希望它不断努力!这些修补程序似乎真的喜欢傻黑客..我不知道潜在的问题是什么。

I was having exactly the same problem, but I already had my phone connected to the computer's USB port. Sometimes disconnecting and reconnecting the cord worked but then it stopped working completely. However, disabling USB debugging on the phone and then re-enabling it has worked so far. Hopefully it keeps working! These fixes really seem like silly hacks.. I'm not sure what the underlying problem is.

阅读全文

相关推荐

最新文章