[ https://issues.apache.org/jira/browse/CB-13377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-13377. ----------------------------- Resolution: Cannot Reproduce I can't reproduce on latest version. If you still face the issue, report it on https://github.com/apache/cordova-android/issues > Build fails to find android-maven-gradle-plugin.jar > --------------------------------------------------- > > Key: CB-13377 > URL: https://issues.apache.org/jira/browse/CB-13377 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android > Affects Versions: 6.3.0 > Reporter: Brian Soumakian > Priority: Major > > > cordova build android --release --device > ✖ Running command - failed! > [ERROR] An error occurred while running cordova build android --release > --device > (exit code 1): > > ANDROID_HOME=/Users/brian/Library/Android/sdk > > JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home > Reading build config file: > /Users/brian/GitHub/confidence-app/build.json > Starting a Gradle Daemon (subsequent builds will be faster) > :wrapper > > BUILD SUCCESSFUL > > Total time: 12.481 secs > Subproject Path: CordovaLib > Starting a Gradle Daemon (subsequent builds will be faster) > The Task.leftShift(Closure) method has been deprecated and is > scheduled > to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. > at > > build_b5kvz0slkk82d8262nuzl6ex0.run(/Users/brian/GitHub/confidence-app/platforms/android/build.gradle:143) > > FAILURE: Build failed with an exception. > > * What went wrong: > A problem occurred configuring root project 'android'. > > Could not resolve all dependencies for configuration ':_debugApk'. > > A problem occurred configuring project ':CordovaLib'. > > Could not resolve all files for configuration > ':CordovaLib:classpath'. > > Could not find android-maven-gradle-plugin.jar > (com.github.dcendents:android-maven-gradle-plugin:1.5). > Searched in the following locations: > > > https://jcenter.bintray.com/com/github/dcendents/android-maven-gradle-plugin/1.5/android-maven-gradle-plugin-1.5.jar > > * 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: 15.611 secs > Error: /Users/brian/GitHub/confidence-app/platforms/android/gradlew: > Command failed with exit code 1 Error output: > FAILURE: Build failed with an exception. > > * What went wrong: > A problem occurred configuring root project 'android'. > > Could not resolve all dependencies for configuration ':_debugApk'. > > A problem occurred configuring project ':CordovaLib'. > > Could not resolve all files for configuration > ':CordovaLib:classpath'. > > Could not find android-maven-gradle-plugin.jar > (com.github.dcendents:android-maven-gradle-plugin:1.5). > Searched in the following locations: > > > https://jcenter.bintray.com/com/github/dcendents/android-maven-gradle-plugin/1.5/android-maven-gradle-plugin-1.5.jar > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info > or > --debug option to get more log output. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org