-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Build failed with exit code 8 #184
Comments
Sorry but i already have the android support library Thanks |
@nico3dfx I bet you don't have version 23 installed. You probably just need to upgrade. |
Me too facing the same problem Could not resolve all dependencies for configuration ':_debugCompile'. After removing the phonegap-plugin-push, i'm able to build the app successfully. Please help me to figure out the problem. Thanks in advance. |
Run: android list sdk |
Thanks Nicoabie |
This thread has been automatically locked. |
Hi,
I'm building the project with cordova 5.3.3 CLI
Android project created with cordova-android@4.1.1 (Android target: android-22)
The plugin versioni is 1.3.0
I have the Android Support Library 23.0.1 installed
But build fails with an exception
This is the build message
$ cordova build
Running command: cmd "/s /c "c:\xampp\htdocs\apps\saabate\platforms\android\cordova\build.bat""
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.7.0
Running: c:\xampp\htdocs\apps\saabate\platforms\android\gradlew cdvBuildDebug -b c:\xampp\htdocs\apps\saabate\platforms\android
dle.daemon=true
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'android'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 23.162 secs
c:\xampp\htdocs\apps\saabate\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "c:\xampp\htdocs\apps\saabate\platforms\android\gradlew cdvBuildDebug -b c:\xamp
latforms\android\build.gradle -Dorg.gradle.daemon=true"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 8
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 8
at ChildProcess.whenDone (c:\Users\IS5\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\supers
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
For a build succesfull I need to remove the plugin, remove the platform and add the platform, without adding the push plugin
What's wrong?
Thanks!
Nico.
The text was updated successfully, but these errors were encountered: