i have been trying to solve the problem myself for the past few days, but unfortunately without success. I want to synchronize Grandle version 8.0.1 in my Android Studio Project, but I keep getting the error message:
`Could not find com.android.tools.build:gradle:8.0.1. Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.0.1/gradle-8.0.1.pom
- https://jcenter.bintray.com/com/android/tools/build/gradle/8.0.1/gradle-8.0.1.pom Required by: project : Add google Maven repository and sync project Open File`
In the log Explorer: https://pastebin.com/cYKaGp0e
build.grandle(android):
buildscript {
ext.kotlin_version = '1.6.10'
repositories {
gradlePluginPortal()
jcenter()
maven {url "https://jitpack.io"}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
gradlePluginPortal()
jcenter()
maven {url "https://jitpack.io"}
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
grandle.properties:
org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m android.useAndroidX=true android.enableJetifier=true
[Updated Grandle Plugin Version: 8.0.1:] (https://i.stack.imgur.com/rO4fl.png)
Compile Sdk Version: 31
[Build Tools Version: 33.0.2] (https://i.stack.imgur.com/jgTiy.png)