Open SDK Manager.exe file, located inside the android-sdk folder. We’re almost there, now we need to install the android packages.In the new window in the variable value field, go to the end of the string and add %ANDROID_HOME%\tools %ANDROID_HOME%\platform-tools. Returning to the environment variables, select the variable path, and click edit.In the new window, in the name of the variable place ANDROID_HOME, and in the variable value put the path to the android-sdk folder you just installed, for example: C:\Android\android-sdk.Again, open the environment variables from Windows. Once installed, we need to create the variable ANDROID_HOME, necessary for Cordova.The next step is to install the Android SDK, the API that provides libraries and tools required to build, test and debug Android.Add the path to the bin directory of the Ant, for example, C:\apache-ant-1.9.6\bin.Select the path variable and click edit.Abra as variáveis de ambiente do windows novamente.Open the environment variables from Windows again. Again we need to update the path variable to add the Ant.After finished downloading, extract the directory to the root of C.With Java configured, now we need the Apache Ant, responsible for making the build of our application.In the variable field values, go to the end of the string and add %JAVA_HOME%\bin. Again, a window will open with the variable data. Select the path variable, and click edit.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.Open the System screen using the “windows pause / break” or go to “Control Panel / System and Security / System”. Now let’s create the JAVA_HOME variable in the Windows environment. See the path where you installed, it will be needed at the next step.
0 Comments
Leave a Reply. |