-bash: android: command not found on Mac OSX

前端 未结 9 1834
陌清茗
陌清茗 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:19

    Add the following lines into ~/.bash_profile and source ~/.bash_profile

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

    This is working for me

提交回复
热议问题