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

后端 未结 18 1561
囚心锁ツ
囚心锁ツ 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:18

    1. run command in terminal nano $HOME/.zshrc

    2. Must include next lines:

      export PATH=$PATH:~/Library/Android/sdk/platform-tools
      export ANDROID_HOME=~/Library/Android/sdk
      export PATH="$HOME/.bin:$PATH"
      export PATH="~/Library/Android/sdk/platform-tools":$PATH
      
    3. Press Command + X to save file in editor,Enter Yes or No and hit Enter key

    4. Run source ~/.zshrc

    5. Check adb in terminal, run adb

提交回复
热议问题