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

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

    In addition to slhck, this is what worked for me (mac).

    To check where your sdk is located.

    1. Open Android studio and go to:

    File -> Project Structure -> Sdk location

    1. Copy the path.

    2. Create the hidden .bash_profile in your home.

    3. (open it with vim, or open -e) with the following:

    export PATH=/Users//Library/Android/sdk/platform-tools:/Users//Library/Android/sdk/tools:$PATH
    

    1. Then simply use this in your terminal: . ~/.bash_profile

    SO post on how to find adb devices

提交回复
热议问题