[
https://issues.apache.org/jira/browse/CB-8143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241092#comment-14241092
]
Ian Clelland edited comment on CB-8143 at 12/10/14 1:58 PM:
------------------------------------------------------------
Just to confirm -- is this an Android Studio error message, or a CLI message?
Is Android Studio the only development environment on the machine, or did the
same machine previously have ant / eclipse / gradle 1.x / etc.?
Installing AS 1.0 on my macbook doesn't do anything to my existing Gradle 1.12
installation, or update my build tools. Before updating anything (except
installing Android Studio), I currently have:
Android SDK Tools: 23.0.5
Android SDK Platform-tools: 21
Android SDK Build-tools: 21.1.1, 20, 19.1, 19
Android SDK Platform: 21, 20, 19, 17, 15, 10
Cordova platform install path/to/cordova-android gives me a gradle wrapper
script for 1.12, which compiles successfully.
I'm going to try to update things and see if I can't break everything the way
you've described.
and everything builds correctly.
was (Author: iclelland):
Just to confirm -- is this an Android Studio error message, or a CLI message?
Is Android Studio the only development environment on the machine, or did the
same machine previously have ant / eclipse / gradle 1.x / etc.?
> Android Studio update combined with Build Tools upgrade breaks 4.0 build
> ------------------------------------------------------------------------
>
> Key: CB-8143
> URL: https://issues.apache.org/jira/browse/CB-8143
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 4.0.0
> Reporter: Joe Bowser
> Assignee: Ian Clelland
> Priority: Blocker
> Fix For: 4.0.0
>
>
> I just updated Android Studio to 1.0, which also now updates my Android
> Tools. That's pretty cool, except that it breaks everything we have for our
> gradle support:
> {code}
> FAILURE: Build failed with an exception.
> * Where:
> Build file '/Users/bowserj/UtahDemo/build.gradle' line: 27
> * What went wrong:
> A problem occurred evaluating root project 'UtahDemo'.
> > Failed to apply plugin [id 'android']
> > Gradle version 1.10 is required. Current version is 2.2.1. If using the
> gradle wrapper, try editing the distributionUrl in
> /Users/bowserj/UtahDemo/gradle/wrapper/gradle-wrapper.properties to
> gradle-1.10-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: 1.94 secs
> {code}
> This happens with all 4.0 projects. I've tried tweaking build.gradle to work
> with the right version, but I can see this severely aggravating users to no
> end.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]