[odroid-pc]ubuntu12.04 android adb shell error: device not found
来源:互联网 发布:淘宝网男加宽牛仔裤 编辑:程序博客网 时间:2024/05/19 16:04
http://blog.csdn.net/silence_cdsn/article/details/38383421
1、通过apt-get安装adb
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb
将android设备连接至电脑,执行adb shell会提示“error: device not found”
2、将android设备连接至电脑,通过lsusb查看usb设备,如下红色部分对应的就是android设备
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 003 Device 009: ID 18d1:4e12 Google Inc. Nexus One (debug)
Bus 003 Device 003: ID 0bda:b728 Realtek Semiconductor Corp.
Bus 003 Device 004: ID 17ef:6018 Lenovo
Bus 003 Device 005: ID 17ef:6019 Lenovo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
3、创建adb_usb.ini文件,写入id
echo 0x18d1> ~/.android/adb_usb.ini
4、添加权限
sudo vim /etc/udev/rules.d/70-android.rules
加入以下内容,注意红色部分对应的就是lsusb得到的id
UBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="4e12",MODE="0666"
5、重启USB服务
$sudo chmod a+rx /etc/udev/rules.d/70-android.rules
$sudo service udev restart
6. 重启adb服务,adb devices有设备说明adb安装成功
$adb kill-server
$sudo adb start-server
$adb devices
List of devices attached12345678900 device
- [odroid-pc]ubuntu12.04 android adb shell error: device not found
- adb shell 出现: error: device not found android
- adb shell error: device not found android错误
- [Android] adb shell 显示 error: device not found 的解决办法
- >adb shell 提示:error:device not found
- adb shell “error:device not found”
- adb error: device not found
- 输入:adb shell 出现 error:device not found解决办法
- 如何解决adb shell error:device not found
- Ubuntu 下ADB shell 报错 error: device not found
- adb shell ,出错 提示error: device not found
- 魅族手机ADB shell出错 error: device not found
- Android开发集锦之一:adb shell error: device not found android错误
- Android adb error: “device not found” on Ubuntu
- 输入adb shell,提示device not found
- ADB push error : device not found 解决方法
- 关于adb shell命令后报错error:device not found的一种解决方案
- adb shell命令输入dos窗口后,报错error:device not found
- 部署自己的博客:Github+Jekyll
- JavaSE----面向对象(封装、构造方法、this、static、代码块)
- 深入sql server中的事务
- SparkR基本操作
- Java解析Property文件
- [odroid-pc]ubuntu12.04 android adb shell error: device not found
- Makefile 批量更新缩略图:站点后台工具
- 观察者模式
- HTML传值
- 猎薪记(屌丝成长记)- 八年前(上1)
- HPU-ACM暑期培训第2周14级个人赛:Problem D【贪心】
- 制作补丁与打补丁简单原理
- HDU 1012 u Calculate e
- Add Binary