LoginSignup
9
8

More than 5 years have passed since last update.

`adb devices`で出てくるデバイスが`no permissions`

Posted at

adb devicesで出てくるデバイスがno permissions

こういう状態

$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
????????????    no permissions

対処

  1. adb kill-serverする
  2. sudo adb devicesする
  3. イェーイ

sudo adbなのが重要。

注意

sudo adbcommand not foundとか言われる事もある。
その時はadbの場所をきちんと指定して実行する。
adbのパスがわからない場合にはhashコマンドが便利

$ hash
hits    command
   2    /home/hoge/android-sdk-linux/platform-tools/adb
9
8
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
9
8