> Could not find com.android.tools.build:gradle...
# community-support
m
Could not find com.android.tools.buildG7.4.
isnt it attempting a download? Gradle 7.4 exists but still what is the issue?
j
It looks like your list of repositories is outdated, the correct link is now: https://dl.google.com/android/maven2/com/android/tools/build/gradle/7.4.0/gradle-7.4.0.pom
v
The problem is not his repository declaration, that is quite fine.
The problem is, that he confused Gradle version with Android Gradle Plugin version.
There is a Gradle version 7.4
And there is an Android Gradle Plugin version 7.4.0
Both have nothing to do with each other. Google just unluckily named their artifact
gradle
.
Use the correct version and it will work
m
thank you @Vampire, what is this trying to download?
v
Didn't I just explain it?
m
Gradle right? Not Android Plugin
v
No, you try to download the Android Gradle Plugin but with a Gradle version