其他分享
首页 > 其他分享> > 树莓派上安装adb和fastboot

树莓派上安装adb和fastboot

作者:互联网

更新软件源列表

sudo apt-get update

如需更换源请查看树莓派更换更新源

安装adb

sudo apt-get install adb

执行以下命令有返回信息代表安装成功

pi@raspberrypi:~ $ adb --version
Android Debug Bridge version 1.0.41
Version 28.0.2-debian
Installed as /usr/lib/android-sdk/platform-tools/adb

安装成功,执行adb devices查看连接的设备

pi@raspberrypi:~ $ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached

安装fastboot

sudo apt-get install fastboot

执行fastboot --version查看是否安装成功

pi@raspberrypi:~ $ fastboot --version
fastboot version 28.0.2-debian
Installed as /usr/lib/android-sdk/platform-tools/fastboot

标签:树莓,fastboot,sudo,devices,version,adb,安装
来源: https://www.cnblogs.com/blueberry-mint/p/16422656.html