Set ANDROID_HOME environment variable in mac

后端 未结 17 822
梦谈多话
梦谈多话 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 07:58

    If you are setting up the ANDROID_HOME environment on MacOS Catalina , .bash_profile is no longer apple's default shell and it won't persist your path variables. Use .zprofile instead and follow the environment setup instructions in react-native documentation or others. .bash_profile will keep creating new file which won't make the path permanent or persist on closing the terminal on your system path.

    Modified as it's providing answer to the frustration of setting up android_home environment on MacOS.

提交回复
热议问题