Can you try this again using Cordova 6.4.0 (which is what Meteor uses and is packaged internally)? If you still experience the problem, perhaps try using PowerShell or normal cmd.exe? And lastly, make sure you're using a version of Android SDK before 25.3.x because of #8464 (currently still unresolved).
I am getting following error even after adding gradle.properties file in /user/.gradle and /ProjectName/platforms/android
I am creating project through GitCMD in my windows machine.
cordova version:6.5.0
ProjectOne>cordova requirements
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-23,android-24,android-25
Gradle: installed
ProjectOne>cordova build android
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121
Subproject Path: CordovaLib
FAILURE: Build failed with an exception.
A problem occurred configuring root project 'android'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 24.382 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
A problem occurred configuring root project 'android'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
The text was updated successfully, but these errors were encountered: