cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Soumakian (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-13377) Build fails to find android-maven-gradle-plugin.jar
Date Sun, 01 Oct 2017 02:09:00 GMT
Brian Soumakian created CB-13377:
------------------------------------

             Summary: 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
    Affects Versions: 6.3.0
            Reporter: Brian Soumakian


> 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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message