Android:adbへの接続がダウンしており、重大なエラーが発生しました。
問題
Eclipse IDEを使用したAndroid開発では、「adb」エラーメッセージの後にヒットし、アプリケーションの起動に失敗することがありますか?
[2011-11-22 15:17:07 - HelloWorld] ------------------------------ [2011-11-22 15:17:07 - HelloWorld] Android Launch! [2011-11-22 15:17:07 - HelloWorld] The connection to adb is down, and a severe error has occured. [2011-11-22 15:17:07 - HelloWorld] You must restart adb and Eclipse. [2011-11-22 15:17:07 - HelloWorld] Please ensure that adb is correctly located at 'C:\Android\android-sdk\platform-tools\adb.exe' and can be executed.
P.S Restart Eclipse will not get rid of the error message.
溶液
場合によっては、Androidプロジェクトがクラッシュしたり、異常にシャットダウンしたりして、「adb.exe」が異常に機能することがあります。
これを解決するには、「adb.exe」プロセスを再開するだけです。 Eclipseを再起動しても、「adb.exe」プロセスは自動的にシャットダウンされません。手動で強制終了する必要があります。
たとえば、Windowsでは、タスクマネージャーを使用してプロセスを強制終了します。