1

少し検索して提案された解決策を見つけましたが、何も機能しません。携帯電話で 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.

adb を再起動すると、次のエラーが表示されます。

[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

デバッガーのチェックを外して再チェックしてみました。私は学校のコンピューターを使用していますが、自宅のコンピューターで試す機会がありませんでした。以前は機能していましたが、おそらくファイアウォールによってブロックされているのでしょうか? 誰にもアイデアはありますか?

4

1 に答える 1

1

DDMSに移動し、==> adb をリセット==> Eclipseを再起動します。

ここに画像の説明を入力

于 2013-10-21T01:07:21.383 に答える