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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。