Set ANDROID_HOME environment variable in mac

后端 未结 17 823
梦谈多话
梦谈多话 2020-12-04 07:36

I am new in developing native app using Salesforce SDK. I tried to create android project from command line using forcedroid tool but there is problem in setting environment

17条回答
  •  隐瞒了意图╮
    2020-12-04 08:12

    Firstly, get the Android SDK location in Android Studio : Android Studio -> Preferences -> Appearance & Behaviour -> System Settings -> Android SDK -> Android SDK Location

    Then execute the following commands in terminal

    export ANDROID_HOME=Paste here your SDK location

    export PATH=$PATH:$ANDROID_HOME/bin

    It is done.

提交回复
热议问题