Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8143

Android Studio update combined with Build Tools upgrade breaks 4.0 build

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • cordova-android
    • None

    Description

      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:

      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
      

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            iclelland Ian Clelland
            bowserj Joey Robert Bowser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment