You will need to set the following variables. Then you will have to set environment variables. There is a very specific version that cordova requires. #HOW TO ADD EMULATOR IN CORDOVA TERMINAL MAC INSTALL#It used to usable from Android Studio but now you have to install it separately. WindowsĪfter installing Android Studio, you need to install two more pieces of software: Check your user folder and if the /Android/ folder is only inside /Library/ do: export ANDROID_SDK_ROOT="$HOME/Library/Android/Sdk" or export ANDROID_HOME="$HOME/Library/Android/Sdk" instead. Please note that sometimes the /Android/Sdk folder is added inside /Library/ inside your user folder. Unix (macOS, linux) export ANDROID_HOME = " $HOME/Android/Sdk" export ANDROID_SDK_ROOT = " $HOME/Android/Sdk" export PATH = $PATH : $ANDROID_SDK_ROOT/tools PATH = $PATH : $ANDROID_SDK_ROOT/platform-tools Open the terminal and go to the folder where the SDK was installed, in tools/bin and call sdkmanager -licenses. Make sure that after you install the Android SDK you then accept its licenses. You can download the Android Studio here and follow these installation steps afterwards. Android setupĪfter this step you will need to install the Android platform SDK on your machine. Depending on your version of Android Studio you may need one or the other. The environmental variable ANDROID_HOME has been deprecated and replaced with ANDROID_SDK_ROOT.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |