0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

adb start-serverできない

Posted at

start-serverできない時

ちゃんとadb kill-serverをせずに強制終了すると,古いADBサーバーが残ったままになり,このようなエラーが出る.

> adb -a start-server
error: protocol fault (couldn't read status): connection reset

解決方法

そんなときは管理者権限で

> netstat -ano | findstr 5037
  TCP         127.0.0.1:5037         0.0.0.0:0              LISTENING       6164

ポート5037を使っているプロセスを探して,
(ADBサーバーは、デフォルトで ポート5037 を使う)

> taskkill /PID 6164 /F
成功: PID 6164 のプロセスは強制終了されました

見つけたプロセスを強制終了

> adb -a start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully

再度実行すると上手くいけました.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?