此問題與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