


Library/Java/JavaVirtualMachines/jdk1.8.0_251. check if path variables are set correctly by opening new terminal echo $JAVA_HOME Save your file with file->save like you would save any regular file, after that write this in your terminal source ~/.bash_profile Ħ. edit and copy/paste this in your ~/.bash_profile or ~/.zshrc file export PATH=$PATH:$ANDROID_HOME/platform-toolsĮxport ANDROID_SDK_ROOT=/Users/user198559/Library/Android/sdkĮxport JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Homeĥ. Open Registry Editor WIN + R Type regedit Press Enter Navigate to the location explained above Set the value of SdkPath to be the path to your sdk: My location is d:\android\android-sdk\. touch is a regular text editor which I'm more comfortable editing with. This needs to be the location of the root of your Android SDK. Here I'm using touch because I dislike nano or vim in the terminal. create a ~/.bash_profile or ~/.zshrc file. Copy that path associated with "Java SE 8" which usually looks like /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Homeģ. To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box.

Find the correct JAVA_HOME path on your machine /usr/libexec/java_home -VĢ. Android Studio sdkthe android sdk location cannot be at the filesystem root. If you are a hybrid cordova/ionic/react app developer.
