DeviceMonitor Adb接続エラー:リモートホストが既存の接続を強制的に閉じました解決策



Devicemonitor Adb Connection Error



この記事は主に解決します Adb接続エラー-adbをリセットします。

環境は実機テストであり、以下のエラーが報告される場合があります。



[2012-04-24 20:41:34 - DeviceMonitor]Adb connection Error: The remote host forcibly closed an existing connection. [2012-04-24 20:41:36 - DeviceMonitor]Connection attempts: 1 [2012-04-24 20:41:38 - DeviceMonitor]Connection attempts: 2 [2012-04-24 20:41:40 - DeviceMonitor]Connection attempts: 3 [2012-04-24 20:41:42 - DeviceMonitor]Connection attempts: 4 [2012-04-24 20:41:44 - DeviceMonitor]Connection attempts: 5 [2012-04-24 20:41:46 - DeviceMonitor]Connection attempts: 6 [2012-04-24 20:41:48 - DeviceMonitor]Connection attempts: 7 [2012-04-24 20:41:50 - DeviceMonitor]Connection attempts: 8 [2012-04-24 20:41:52 - DeviceMonitor]Connection attempts: 9 [2012-04-24 20:41:54 - DeviceMonitor]Connection attempts: 10 [2012-04-24 20:41:56 - DeviceMonitor]Connection attempts: 11 [2012-04-24 20:44:06 - ddms]ADB rejected shell command (ls -l /): closed [2012-04-24 20:44:11 - ddms]ADB rejected shell command (ls -l /): closed

以前は日食を再開することがすべてでしたが、時々解決することはできません。実機の必要性 データケーブルを抜き、日食を閉じて電話を再起動します。 解決する。

しかし、日食は面倒なので、シャットダウンの再開時間は長すぎます。別の解決策を見つける:



Eclipseビューモード DDMSを選択 (一般的なJavaビューとデバッグビューもあります)、[ウィンドウ]-> [ビューの表示]-> [デバイス]を選択して使用できない場合は、[デバイス]ウィンドウを表示します。 ドロップダウン矢印でresetadbを選択します



この時点で、日食は自動的に再試行し、接続試行を入力します:1は成功を意味します