Skip to content

cordova's configured gradle version unsupported in Android Studio 3.4 #718

@jacobg

Description

@jacobg

Bug Report

Android Studio 3.4 (just released) require a minimum Gradle version of 5.1.1, and so Gradle sync fails:

> Failed to apply plugin [id 'com.android.application']
   > Minimum supported Gradle version is 5.1.1. Current version is 4.10.3. If using the gradle wrapper, try editing the distributionUrl in /Users/jacob/workspace/f-tc/src-cordova/platforms/android/gradle/wrapper/gradle-wrapper.properties to gradle-5.1.1-all.zip

Problem

See above

What is expected to happen?

cordova android automatically configured for Gradle 5.1.

What does actually happen?

uses Gradle 4.10

Information

Command or Code

Environment, Platform, Device

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions