Skip to content

Doesn't build in Android Studio 4.2 #8

Description

@keaukraine

Android Studio fails to sync gradle because project uses Gradle 6.5, while minimum supported it 6.7.1.

When opening project, AS provides the following output:

Starting Gradle Daemon...
Gradle Daemon started in 1 s 977 ms

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Work\temp\opengl-es-sdk-for-android\samples\advanced_samples\AntiAlias\build.gradle' line: 1

* What went wrong:
A problem occurred evaluating project ':samples:advanced_samples:AntiAlias'.
> Failed to apply plugin [id 'com.android.internal.version-check']
   > Minimum supported Gradle version is 6.7.1. Current version is 6.5. If using the gradle wrapper, try editing the distributionUrl in C:\Work\temp\opengl-es-sdk-for-android\gradle\wrapper\gradle-wrapper.properties to gradle-6.7.1-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 4s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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