I just downloaded gradle6.1.1 to my android studio ,every time i build any project i get the following:Could not find com.android.tools.build:gradle:6.1.1.
Searched in the following locations:
The version of the Android Gradle Plugin (AGP) which you set in the build script for the com.android.application plugin. There you could use 3.6.0-beta05, if you want the latest (your build fails, because this one is set to 6.1.1 as well).
Dear Jendrik
i tried to sync project with other version
“distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip”
and the build gradle was set to classpath ‘com.android.tools.build:gradle:3.5.3’
Still i get the same errors as below:
Could not find com.android.tools.build:gradle:3.5.3.
Searched in the following locations: