Skip to content

[device_info] Minimum supported Gradle version is 5.6.4. Current version is 5.6.2. #56683

@thiagosmagalhaes

Description

@thiagosmagalhaes
I started getting the error below when trying to generate the release APKs, if I run the app in debug mode it runs:

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/kitoide/flutter/.pub-cache/hosted/pub.dartlang.org/device_info-0.4.2+3/android/build.gradle' line: 22

* What went wrong:
A problem occurred evaluating root project 'device_info'.
> Failed to apply plugin [id 'com.android.internal.version-check']
   > Minimum supported Gradle version is 5.6.4. Current version is 5.6.2. If using the gradle wrapper, try editing the distributionUrl in /Users/kitoide/flutter/.pub-cache/hosted/pub.dartlang.org/device_info-0.4.2+3/android/gradle/wrapper/gradle-wrapper.properties to gradle-5.6.4-all.zip

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s


The plugin device_info could not be built due to the issue above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions