1. Install adb via Apt-get
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb
Connect your Android device to your computer and the ADB shell will prompt "Error:device not found"
2, connect the Android device to the computer, through the LSUSB to view the USB device, the following red section corresponds to the Android device
[Email protected]:/etc/udev/rules.d$ Lsusb
Bus 002 Device 001:id 1d6b:0003 Linux Foundation 3.0 root Hub
Bus 001 Device 004:id 04f2:b414 chicony Electronics Co., Ltd.
Bus 001 Device 010:id 2,207:0010
Bus 001 Device 002:id 04ca:0061 lite-on technology Corp.
Bus 001 Device 005:id 0b05:17fd ASUSTek Computer, Inc.
Bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
3. Create Adb_usb.ini file, write ID
echo 0x2207 > ~/.android/adb_usb.ini
4. Add Permissions
sudo vim/etc/udev/rules.d/70-android.rules
Add the following to note that the Red section corresponds to the ID that LSUSB gets
subsystem== "USB", attrs{idvendor}== "2207", attrs{idproduct}== "0010", mode= "0666"
5. Restart the USB service
$sudo chmod a+rx/etc/udev/rules.d/70-android.rules
$sudo Service Udev Restart
6. Restart the ADB service, ADB devices has a device stating that the ADB installation was successful
$ADB Kill-server
$sudo adb start-server
$ADB devices
List of devices attached
815105148800601fe42 Device
Ubuntu install ADB