You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2020/06/24 17:00:15 UTC
[jira] [Closed] (CB-11808) cordova prepare generates build files
with invalid gradle dependencies
[ https://issues.apache.org/jira/browse/CB-11808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-11808.
-----------------------------
Resolution: Cannot Reproduce
I can't reproduce
If somebody still faces the issue, please, report it on https://github.com/apache/cordova-android/issues
> cordova prepare generates build files with invalid gradle dependencies
> ----------------------------------------------------------------------
>
> Key: CB-11808
> URL: https://issues.apache.org/jira/browse/CB-11808
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Affects Versions: 6.3.1
> Environment: $ uname -a
> Linux artemis 4.6.7-300.fc24.x86_64 #1 SMP Wed Aug 17 18:48:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> Fedora 24
> $ cordova --version
> 6.3.1
> Reporter: Cássio Hideki Kanashiro Oseki
> Priority: Major
>
> Following the tutorial provided on the main Apache Cordova landing page, with "android" as platform, results in an unsupported Gradle version not running because of incomplete dependency resolution.
> [empjustine@artemis conservo]$ ANDROID_HOME=$HOME/Android/Sdk/ $HOME/node_modules/.bin/cordova build
> ANDROID_HOME=/home/empjustine/Android/Sdk/
> JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.fc24.x86_64
> FAILURE: Build failed with an exception.
> * Where:
> Build file '/home/empjustine/conservo/platforms/android/build.gradle' line: 20
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > Failed to apply plugin [id 'com.android.application']
> > Minimum supported Gradle version is 2.14.1. Current version is 2.13. If using the gradle wrapper, try editing the distributionUrl in /home/empjustine/conservo/gradle/wrapper/gradle-wrapper.properties to gradle-2.14.1-all.zip
> * 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: 6.412 secs
> Error: /home/empjustine/conservo/platforms/android/gradlew: Command failed with exit code 1 Error output:
> FAILURE: Build failed with an exception.
> * Where:
> Build file '/home/empjustine/conservo/platforms/android/build.gradle' line: 20
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > Failed to apply plugin [id 'com.android.application']
> > Minimum supported Gradle version is 2.14.1. Current version is 2.13. If using the gradle wrapper, try editing the distributionUrl in /home/empjustine/conservo/gradle/wrapper/gradle-wrapper.properties to gradle-2.14.1-all.zip
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
> [empjustine@artemis conservo]$ head /home/empjustine/conservo/gradle/wrapper/gradle-wrapper.properties
> head: cannot open '/home/empjustine/conservo/gradle/wrapper/gradle-wrapper.properties' for reading: No such file or directory
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org