-bash: android: command not found on Mac OSX

前端 未结 9 1837
陌清茗
陌清茗 2020-12-12 13:38

I\'ve been diving into Android development for a while, and now I want to use some project (helpshift) in my app. On the website they have some example apps in which the rea

9条回答
  •  时光说笑
    2020-12-12 14:24

    First add these lines to your ~/.bashrc file:

    export ANDROID_HOME=${HOME}/Library/Android/sdk
    export PATH=${PATH}:${ANDROID_HOME}/tools
    export PATH=${PATH}:${ANDROID_HOME}/platform-tools
    

    then:

    source ~/.bashrc
    

提交回复
热议问题