You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure your Gradle version is compatible with your Android Gradle Plugin.
If your project level build.gradle says:
buildscript {
repositories {
google()
}
Then the Gradle version is 4.0 and above. If it's like this:
buildscript {
repositories {
maven { url "https://maven.google.com" }
}
Then the Gradle version is less than 4.0.
Just correct this and sync your project with Gradle.
If still, the error persists then find the gradle-wrapper.properties file and change the last sentence to this:
distributionUrl=http://services.gradle.org/distributions/gradle-2.2.1-all.zip
Note that the Gradle version in the above line must match with the one you have in your build.gradle file.
Can't build project bcz of this
The text was updated successfully, but these errors were encountered: