find gradle version
#on android studio console type:
gradlew --version
find gradle version
#on android studio console type:
gradlew --version
Minimum supported Gradle version is 6.7.1. Current version is 5.5. If using the gradle wrapper,
I faced this error. so I added the line below to build.gradle(project) file,
dependency part:
classpath 'com.android.tools.build:gradle:3.6.0'
and I changed distributionUrl in gradle-wrapper.properties file to :
https://services.gradle.org/distributions/gradle-5.6.4-all.zip
It solved my problem I hope solve yours too.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us