此问题与this thread有关,但是该线程没有答案,所以这在技术上并不重复。ADB在Eclipse中崩溃
我已经在我的Windows 7 x64上运行了ADB 1.0.26,并且使用ADT 10.0.1 SDK工具r10运行了Eclipse SDK 3.6.2,并且已经安装了所有Android SDK版本。
当我以调试模式将手机连接到计算机,并在命令提示符下键入adb devices
时,我的手机显示出来。这是一款Inspire 4G。我可以将adb shell
放入设备中,并且ls
,因此我假设连锁店的adb/driver/phone部分正常工作。
现在,如果我接我的电话,去到Eclipse中,我得到:
[2011-03-28 17:46:33 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-03-28 17:46:34 - DeviceMonitor]Connection attempts: 1
[2011-03-28 17:46:36 - DeviceMonitor]Connection attempts: 2
[...]
[2011-03-28 17:47:53 - DeviceMonitor]Connection attempts: 10
[2011-03-28 17:46:54 - DeviceMonitor]Connection attempts: 11
[2011-03-28 17:47:00 - adb]
[2011-03-28 17:47:00 - adb]This application has requested the Runtime to terminate it in an unusual way.
[2011-03-28 17:47:00 - adb]Please contact the application's support team for more information.
[2011-03-28 17:47:04 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-03-28 17:47:05 - DeviceMonitor]Connection attempts: 1
[2011-03-28 17:47:07 - DeviceMonitor]Connection attempts: 2
等等,等等...这永远循环。 如果我启动Eclipse并连接手机,或者连接手机然后启动Eclipse,则无关紧要。
我不认为它应该的问题,但我的手机是一个启发4G其根源和运行革命4G 3.2
这是一个编程问题? – trojanfoe 2011-03-28 07:13:45
是[这](http://stackoverflow.com/questions/4573019/adb-crashes-when-device-attached-with-eclipse)一个编程问题? [this] [http://stackoverflow.com/questions/2994062/eclipse-adb-error-message-in-vista-failed-to-parse-the-output-of-adb-version),或[this ](http://stackoverflow.com/questions/5133814/phone-doesnt-show-up-in-eclipse-eventhough-adb-is-working)或[this](http://stackoverflow.com/questions/ 3912548/android-adb-unable-to-open-sync-connection)或[this](http://stackoverflow.com/questions/3926648/setting-up-android-phone-with-eclipse)? ? – Ozzah 2011-03-28 07:15:59
5错误不会使右:) – trojanfoe 2011-03-28 07:18:41