2011-03-28 81 views
10

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

+0

這是一個編程問題? – trojanfoe 2011-03-28 07:13:45

+0

是[這](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

+0

5錯誤不會使右:) – trojanfoe 2011-03-28 07:18:41

回答

1

爲了這個去DDMS,查找設備 - >查看菜單 - >復位亞洲開發銀行。

+0

這沒有幫助。如果我重置亞行,它會一遍又一遍地做同樣的事情。在DDMS中,我可以看到我的手機出現,然後幾秒鐘後消失。 – Ozzah 2011-03-29 06:22:00

1

您是否安裝了Revolution 4G ROMs?如果是這樣,那麼我必須安裝無意義的修補程序來刪除所有HTC的東西。一旦我這樣做,亞行就停止在Eclipse中崩潰。

編輯 - 實際上它似乎仍然有時崩潰,但不是經常?仍然不是解決方案。

+0

是的,我正在運行革命4G。從3.2開始,我一直在運行它,直到當前的5.1.4,並且它在每個版本中都崩潰了。在這個階段我已經完全放棄了。正如你所說,我認爲這是一個ROM問題。 – Ozzah 2011-05-09 23:21:54

+0

你有沒有問過邁克在xda上的這個問題? – 2011-09-29 20:04:49