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

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

    This is how it worked for me

    first I find my platform-tools than I was using zshrc instead of bash_profile so I run this command first

    echo 'export PATH=$HOME/Library/Android/sdk/platform-tools/' >> ~/.zshrc
    

    next refresh terminal

    source ~/.zshrc
    

    Check if it worked

    adb devices
    

    result of this command must be something similar to this if so then it worked.

    List of devices attached
    emulator-5554   device
    

提交回复
热议问题