在mac中android stuido 配置adb

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

~/Library/Android/sdk/platform-tools

打开终端输入

touch .bash_profile
open -e .bash_profile 

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

《在mac中android stuido 配置adb》 图片.png

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

《在mac中android stuido 配置adb》 图片.png

    原文作者:HPD_黄霹雳
    原文地址: https://www.jianshu.com/p/55ed322df4c6
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞