Assigned
Status Update
Comments
jv...@google.com <jv...@google.com>
je...@google.com <je...@google.com> #2
hava you added the 'google()' repository to your build classpath ?
buildscript {
repositories {
google() // Add Google's Maven repository
mavenCentral()
}
Description
No idea if this is where I'm supposed to report this but I couldn't find anywhere else to do it so here we are. Gradle is encountering the following error when running a template on Android studio. I am getting the following logs.
Build file 'C:\Users\user\AndroidStudioProjects\Clock\build.gradle.kts' line: 2
* What went wrong:
Plugin [id: 'com.android.application', version: '8.9.0', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:8.9.0')
Searched in the following repositories:
Google
MavenRepo
Gradle Central Plugin Repository
I have completely flushed the entirety of Android studio from my PC and it errored immediately after a reinstall and the creation of a new project.
STEPS TO REPRODUCE:
1. Open a new project
2. Wait for it to build
3. Above error appears.
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build: Build #AI-243.22562.218.2431.13114758
Version of Gradle Plugin: 243.22562.218.2431.13114758
Version of Gradle: 8.9
Version of Java: Version 8 Update 441
OS: Windows 11 24H2