Ubuntu下设置adb path的方法

1. 配置环境变量

  sudo gedit /etc/profile
 
在文件的最后追加一下内容(your_android-sdk-linux_path是绝对路径):
 
  #set path for android sdk tools
  export PATH=$PATH:/your_android-sdk-linux_path/tools/
  export PATH=$PATH:/your_android-sdk-linux_path/platform-tools/

2、保存后,同步更新

 
  source /etc/profile

3.输入adb 看是否安装成功。

原文地址:https://www.cnblogs.com/tsts/p/9221958.html