美文网首页
Ubuntu上用adb devices找不到设备

Ubuntu上用adb devices找不到设备

作者: Karma1026 | 来源:发表于2017-12-25 10:44 被阅读253次

有些手机练到Ubuntu上用adb devices找不到设备,原因是“adb内建有一个知名的厂商ID列表,对于列表内的设备,adb可以直接连接,而不在列表中的设备,它会直接返回,这也就是为什么android设备的驱动已经安装好了,而adb连接不上的原因。”
解决方案:

  1. 用lsusb命令查询usb设备id
    这里写图片描述
    其中,Device 027是我的手机设备,usb id为2717。
  2. 进入~/.android/目录,创建adb_usb.ini文件;
  3. 编辑adb_usb.ini文件,将设备的usb id添加到文件里
    这里写图片描述
  4. adb kill-server杀死adb服务;
  5. 最后,用adb devices重新查找设备,就可以找到了;

相关文章

  • Ubuntu上用adb devices找不到设备

    有些手机练到Ubuntu上用adb devices找不到设备,原因是“adb内建有一个知名的厂商ID列表,对于列表...

  • adb:no devices/emulators found

    使用adb,突然找不到设备了。。。no devices/emulators found $ adb devices...

  • 2018-05-15

    ubuntu下 adb devices找不到devices(转载自https://blog.csdn.net/u0...

  • adb devices 找不到设备的解决方法

    安装好adb 驱动后,发现adb devices还是找不到设备。找不到设备有很多的原因,其中之一就是驱动列表里没有...

  • 常用adb命令

    adb devices 查看当前连接的设备(如果连接了多个设备,指定某个设备时用参数 -s) adb logcat...

  • 2019-05-11

    adb devicesList of devices attached 为空找不到设备的解决办法https://b...

  • adb 操作

    查看设备 adb devices 选择设备 adb -s 设备名字 安装 adb install -r xxx...

  • ADB 命令

    查询设备adb devices 查询手机中的用户adb shell pm list users 查看设备上的应用包...

  • adb常用命令

    adb devices 查看当前连接设备 adb root 获得root权限 adb shell 进入设备 adb...

  • ADB

    adb version 查看版本 adb devices 查看连接设备 adb install 安装 adb ...

网友评论

      本文标题:Ubuntu上用adb devices找不到设备

      本文链接:https://www.haomeiwen.com/subject/bdtlgxtx.html