Not able to access adb in OS X through Terminal, “command not found”

后端 未结 18 1569
囚心锁ツ
囚心锁ツ 2020-12-04 04:43

I have installed Android SDK and Eclipse on my Mac system. I am able to program using Eclipse and have created few sample applications. But I am still not able to access

18条回答
  •  臣服心动
    2020-12-04 05:40

    If you are using zsh on an OS X, you have to edit the zshrc file.

    Use vim or your favorite text editor to open zshrc file:

    vim ~/.zshrc
    

    Paste the path to adb in this file:

    export PATH="/Users/{$USER}/Library/Android/sdk/platform-tools":$PATH
    

提交回复
热议问题