Setting up your workspace for Cordova

By 28th November 2018How to, Tutourial & Tips

Settings from Cordova when you run ‘cordova requirements’

Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-27,android-26,android-25,android-24,android-23,android-22
Gradle: installed C:\Program Files\Android\Android Studio\gradle\gradle-4.6\bin\gradle

ANDROID_HOME=C:\Users\USERNAME\AppData\Local\Android\Sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_191

https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

System Environments

User Variable:

JAVA_HOME :: C:\Program Files\Java\jdk1.8.0_191

System Variables

ANDROID_HOME :: C:\Users\USERNAME\AppData\Local\Android\Sdk
JAVA_HOME :: C:\Program Files\Java\jdk1.8.0_191

PATH ::
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\Program Files\Java\jdk1.8.0_191\bin
C:\Program Files\Java\jdk1.8.0_191
C:\Users\USERNAME\AppData\Local\Android\Sdk\platform-tools
C:\Users\USERNAME\AppData\Local\Android\Sdk\tools
C:\Gradle\gradle-5.0\bin

 

https://github.com/sebdah/phonegap-tutorial/blob/master/README.md