Android adb setup for ubuntu
connect the device to ubuntu, use command $sudo lsusb will display like:
mean: Spreadtrum device idVendor 1782 idProduct 5d24
1, touch the file:
~/.android/adb_usb.ini
add 0x1782 to adb_usb.ini --- this num is your device‘s idVender
====no this file will occur:
adb devices display none
2, touch /etc/udev/rules.d/88-android.rules
add below to this file: the num 1782 is your device‘s idVender
SUBSYSTEM=="usb", ATTRS{idVendor}=="1782", MODE="0666"
after this exec command: sudo service udev restart
==no this file will occur:
adb devices display like below
Then exec:
adb kill-server
adb start-server
now your adb setup is ok;
$adb shell
----------mian_G
相关文章
- 10-02Android:如何通过adb清除应用缓存并保留用户数据?
- 10-02是否可以通过终端使用adb连接Android设备?
- 10-02Android ADB 实用总结
- 10-02无线调试 ADB 使用配对码链接Android
- 10-02Android_adb shell dumpsys介绍
- 10-02[Android]ADB调试: SecurityException: Injecting to another application requires INJECT_EVENTS permissio
- 10-02在Android ADB Shell中运行Shell脚本
- 10-02Android-ADB拒绝Shell命令(ls -l / data)
- 10-02adb shell dumpsys 命令查看内存,android组件化开发
- 10-02android – Eclipse DDMS没有显示任何东西,但adb,ddms正在工作!