LoginSignup
7
6

More than 5 years have passed since last update.

Genymotionでエミュレータを起動してもデバイス一覧に表示されない場合の対処方法

Posted at

Genymotionでのadb

Genymotionは高速なAndroidエミュレータで、この頃かなり人気がある。実際に開発に使っているが、いろんな点で公式エミュレータよりも使いやすい場合が多い。

このGenymotionを使用していると(特に最近インストールした場合)、下記のようなエラーが出る場合がある

adb server version (32) doesn't match this client (35); killing...
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常、各ソケット アドレスに対してプロトコル、ネ 

この場合、Genymotion同梱のadbとAndroid SDK内のSDKバージョンが一致してないのが問題なので、Genymotionインストール先配下にある(Windowsであれば"C:\Program Files\Genymobile\Genymotion\tools")adbコマンドを削除し、${ANDROID_HOME}/platform-tools配下にあるadbコマンドをコピペすれば接続できる。

7
6
1

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
7
6