将adb配置到系统环境

来源:互联网 发布:日语电子词典软件 编辑:程序博客网 时间:2024/05/22 02:23

1.  到adb安装目录下,输入命令,创建文件

     touch .bash_profile

2. 查看是否存在

    ls -la

3. 打开文件

    open -e .bash_profile

4. 将当前adb目录加入到bash_profile中

    export PATH=${PATH}:/Users/xxxxxx/android/sdk/platform-tools

5. 使文件生效

    source .bash_profile 

0 0
原创粉丝点击