首页 > 代码库 > Android adb setup for ubuntu
Android adb setup for ubuntu
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
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
Android adb setup for ubuntu
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。