Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=C:\Users\Rpwebapps\AppData\Local\Android\sdk (recommended setting) ANDROID_HOME=C:\Users\Rpwebapps\AppData\Local\Android\Sdk (DEPRECATED) Cannot read property 'length' of undefined [ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android exited with exit code 1.
onic:
Ionic CLI : 5.2.7 (C:\Users\Rpwebapps\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.8.1 @angular-devkit/build-angular : 0.801.3 @angular-devkit/schematics : 8.1.3 @angular/cli : 8.1.3 @ionic/angular-toolkit : 2.0.0
Cordova:
Cordova CLI : 9.0.0 ([email protected]) Cordova Platforms : android 8.0.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 4 other plugins)
Utility:
cordova-res : 0.6.0 native-run : not installed
System:
NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe) npm : 6.4.1 OS : Windows 10
where i am missing, Environment Variables also created (paths) any one help me out
JAVA_HOME JDK-location ANDROID_SDK_ROOT GRADLE_USER_HOME platform-tools tools (Android\Sdk\tools) add variables
ionic cordova build android