![]() Note: If you haven't changed the default installation path then you'll have the Android SDK installed in ~/Library/Android/sdkĪdd the following lines to your login scriptĮxport ANDROID_HOME="$HOME/Library/Android/sdk"Įxport ANDROID_SDK_ROOT="$HOME/Library/Android/sdk"Ħ. Set the ANDROID_HOME and ANDROID_SDK_ROOT environment variable to match this path (change adoptopenjdk-8.jdk to the installation folder of your JDK)Ĥ. Put this in your login script ( ~/.bash_profile for up to macOS 10.14 ~/.zshrc for macOS 10.15 and above):Įxport JAVA_HOME="/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home" ![]() Set JAVA_HOME environmental variable to where JDK is installed
0 Comments
Leave a Reply. |