BUILD Failed



FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

Could not resolve all dependencies for configuration ‘:classpath’.
Timeout waiting to lock artifact cache (/home/package/.gradle/caches/modules-2). It is currently in use by another Gradle instance.
Owner PID: 5306
Our PID: 21834
Owner Operation: resolve configuration ':classpath’
Our operation: resolve configuration ':classpath’
Lock file: /home/package/.gradle/caches/modules-2/modules-2.lock

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Total time: 1 mins 1.742 secs
Error: Error code 1 for command: /home/package/workspace/apps-03103df0-49/cordova/platforms/android/gradlew with args: cdvBuildRelease,-b,/home/package/workspace/apps-03103df0-49/cordova/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true