美文网首页Android
在mac中android stuido 配置adb

在mac中android stuido 配置adb

作者: HPD_黄霹雳 | 来源:发表于2017-08-16 14:17 被阅读0次

在mac系统的中的android studio,默认的adb路径为:

~/Library/Android/sdk/platform-tools

打开终端输入

touch .bash_profile
open -e .bash_profile 

这时就会弹出一个文件对话框,如下图:

图片.png

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

图片.png

相关文章

网友评论

    本文标题:在mac中android stuido 配置adb

    本文链接:https://www.haomeiwen.com/subject/dlyirxtx.html