Oh geez. Your build failed. Sorry, but a problem occurred on the build server

  • 1
  • Problem
  • Updated 4 years ago
Today I made some small changes to my app but I get this error message when I try to compile it (Android version):
"Oh geez. Your build failed. Sorry, but a problem occurred on the build server"

App ID: 2032604

What happened?
Photo of stileinverso

stileinverso

  • 26 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
What does the build log say?
Photo of stileinverso

stileinverso

  • 26 Posts
  • 0 Reply Likes
Build Date: 2016-05-25 18:08:21 +0000
--------------------------------------------------------------------------------
PLUGIN OUTPUT
--------------------------------------------------------------------------------
Installing "org.apache.cordova.device" at "0.2.3" for android
Installing "com.brodysoft.sqlitePlugin" at "1.0.6" for android
Installing "com.indigoway.cordova.whitelist.WhitelistPlugin" at "1.1.1" for android
Fetching plugin "cordova-plugin-file" via npm
Installing "cordova-plugin-file" at "4.2.0" for android
Fetching plugin "cordova-plugin-compat" via npm
Installing "cordova-plugin-compat" at "1.0.0" for android

The Android Persistent storage location now defaults to "Internal". Please check this plugins README to see if you application needs any changes in its config.xml.

If this is a new application no changes are required.

If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

""

to config.xml in order for the application to find previously stored files.
Fetching plugin "phonegap-plugin-push" via npm
Installing "phonegap-plugin-push" at "1.6.4" for android
Fetching plugin "de.appplant.cordova.plugin.badge" via npm
Installing "de.appplant.cordova.plugin.badge" at "0.7.1" for android

Your support is needed. If you use the badge plugin please support us in order to ensure further development.
https://github.com/katzer/cordova-plu...

Thank you!
Fetching plugin "cordova-plugin-network-information" via npm
Installing "cordova-plugin-network-information" at "1.2.1" for android
--------------------------------------------------------------------------------
COMPILE OUTPUT
--------------------------------------------------------------------------------
Build option --'' not recognized (ignoring).
Running: /project/gradlew cdvBuildDebug -b /project/build.gradle -Dorg.gradle.daemon=true -PcdvBuildMultipleApks=false

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'project'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/an...
https://repo1.maven.org/maven2/com/an...
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
Required by:
:project:unspecified > com.android.support:support-v13:23.2.1
> Could not find com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/an...
https://repo1.maven.org/maven2/com/an...
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
Required by:
:project:unspecified > com.google.android.gms:play-services-gcm:8.4.0 > com.google.android.gms:play-services-base:8.4.0 > com.google.android.gms:play-services-basement:8.4.0

* 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: 4.857 secs

/project/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: /project/gradlew with args: cdvBuildDebug,-b,/project/build.gradle,-Dorg.gradle.daemon=true,-PcdvBuildMultipleApks=false
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
The android support library 23.4.0 is not yet available at PGB. You can wait for the upgrade or set plugins that use this lib to a lower version.
Photo of stileinverso

stileinverso

  • 26 Posts
  • 0 Reply Likes
I disabled all plugins one at a time to see which one generated the error and I found that it is phonegap-plugin-push (in my case).

I read here: https://github.com/phonegap/phonegap-... that everything should be ok soon with the installation of Android 23.4.0.

Do you confirm?
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Yes.
Photo of stileinverso

stileinverso

  • 26 Posts
  • 0 Reply Likes
Now seems all ok!