Installing Java & Android SDK

We will install the Java JDK.

  • Download the Java version compatible with your OS (32 or 64 bits).
  • Now let’s create the JAVA_HOME variable in the Windows environment. Open the System screen using the “windows + pause / break” or go to “Control Panel / System and Security / System”.
  • Click “Advanced System Settings”
  • Select Environment Variables.
  • Select New environment variable.
  • In the new window, in the name of the variable place JAVA_HOME, and in the value put the path where you installed the JDK. For example, C:\Program Files\Java\jdk1.8.0_65. Click OK.

The next step is to install the Android SDK, the API that provides libraries and tools required to build, test and debug Android.

  • Download in http://developer.android.com/sdk/index.html#Other, select the .exe(Recommended).
  • Once installed, we need to create the variable ANDROID_HOME, necessary for Cordova. Again, open the environment variables from Windows.
  • Select Environment Variables.
  • Click New.
  • In the new window, in the name of the variable place ANDROID_HOME, and in the variable value put the path to the android-sdkfolder you just installed, for example: C:\Android\android-sdk. Click OK.
Was this article helpful to you? Yes 1 No

How can we help?