1. 安装adb和fastboot
sudo apt-get install android-tools-adb android-tools-fastboot android-tools-adbd
结果:Unable to locate package adb
那就还需要一些步骤:
sudo add-apt-repository ppa:phablet-team/tools
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install android-tools-adb
sudo apt-get install android-tools-adbd
sudo apt-get install android-tools-fastboot
这样就可以正常的将adb 与 fastboot安装成功。
2. adb配置
设备连接pc,确保连接完好。
使用lsusb, 查看一下,连接到pc的usb设备,如果不能确定哪一个是你的设备,就将设备从pc上拔下来,再次使用lsusb命令查看,将两次的lsusb的输出结果进行对比,就可将android设备的usb信息准确无误的去顶出来,如下图:
如果~