在mac系统的中的android studio,默认的adb路径为:
~/Library/Android/sdk/platform-tools
打开终端输入
touch .bash_profile
open -e .bash_profile
这时就会弹出一个文件对话框,如下图:

输入后保存,关闭文件对话框,也要关闭终端,因为配置更新后要重新终端才能生效。
检测adb是否已经生效,只要在新的终端输入adb命令就好。如果出现一大堆信息就说明已经配置成功。如下图:

在mac系统的中的android studio,默认的adb路径为:
~/Library/Android/sdk/platform-tools
打开终端输入
touch .bash_profile
open -e .bash_profile
这时就会弹出一个文件对话框,如下图:
输入后保存,关闭文件对话框,也要关闭终端,因为配置更新后要重新终端才能生效。
检测adb是否已经生效,只要在新的终端输入adb命令就好。如果出现一大堆信息就说明已经配置成功。如下图:
本文标题:在mac中android stuido 配置adb
本文链接:https://www.haomeiwen.com/subject/dlyirxtx.html
网友评论