Error compiling the application in android

Hello, I have a error compiling the application in android, the next error:

[stderr]
FAILURE: Build failed with an exception.
[stderr]

  • Where:
    [stderr]
    Build file ‘/home/expo/workingdir/build/android/app/build.gradle’ line: 1
    What went wrong:
    [stderr]
    A problem occurred evaluating project ‘:app’.
    [stderr]

Failed to apply plugin [id ‘com.android.internal.version-check’]
[stderr]
Minimum supported Gradle version is 6.5. Current version is 4.6. If using the gradle wrapper, try editing the distributionUrl in /home/expo/workingdir/build/android/gradle/wrapper/gradle-wrapper.properties to gradle-6.5-all.zip
[stderr]

  • Try:
    [stderr]
    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.
    [stderr]
  • Get more help at https://help.gradle.org
    [stderr]
    BUILD FAILED in 21s
    Error: Gradle build failed with unknown error. Please see logs for the “Run gradlew” phase.

Minimum supported Gradle version is 6.5. Current version is 4.6. If using the gradle wrapper, try editing the distributionUrl in /home/expo/workingdir/build/android/gradle/wrapper/gradle-wrapper.properties to gradle-6.5-all.zip

Have you tried updating android/gradle/wrapper/gradle-wrapper.properties ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.