2012-04-11 111 views
1

我已經做了一些搜索並找到了建議的解決方案,但沒有任何工作。當我嘗試我的手機上運行我的Android程序,我得到這個錯誤:爲什麼不能不將ecilpse連接到我的Android設備?

2012-04-11 10:25:00 - Android Cheater Physics] Android Launch! 
[2012-04-11 10:25:00 - Android Cheater Physics] Connection with adb was interrupted. 
[2012-04-11 10:25:00 - Android Cheater Physics] 0 attempts have been made to reconnect. 
[2012-04-11 10:25:00 - Android Cheater Physics] You may want to manually restart adb from the Devices view. 

重新啓動亞行給了我這個錯誤:

[2012-04-11 10:05:40 - ddms]Failed to initialize Monitor Thread: Unable to establish loopback connection 
[2012-04-11 10:08:46 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host 
[2012-04-11 10:08:46 - Logcat]An existing connection was forcibly closed by the remote host 
java.io.IOException: An existing connection was forcibly closed by the remote host 
    at sun.nio.ch.SocketDispatcher.read0(Native Method) 
    at sun.nio.ch.SocketDispatcher.read(Unknown Source) 
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) 
    at sun.nio.ch.IOUtil.read(Unknown Source) 
    at sun.nio.ch.SocketChannelImpl.read(Unknown Source) 
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395) 
    at com.android.ddmlib.Device.executeShellCommand(Device.java:284) 
    at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527) 

[2012-04-11 10:08:47 - DeviceMonitor]Connection attempts: 1 
[2012-04-11 10:09:18 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host 

我嘗試取消選中並重新檢查調試器,以及。我在學校電腦上,沒有機會在家用電腦上試用它。雖然它以前有效,但防火牆現在可能阻止了它或什麼?有人有主意嗎?

+0

您是否嘗試過強制關閉ADB服務? – 2013-04-05 19:53:00

回答

1

轉到DDMS,==>重置ADB ==>重啓的Eclipse

enter image description here

相關問題