Yukha D
05/19/2025, 3:10 AM8.8.0
to 8.10.0
and Gradle from 8.10.2
to 8.11.1
. It works just fine on Linux Environment (WSL) yet does not working properly on Windows. Everytime I run gradle command, It returns this error message:
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\repositories\github\AndroidApplication\build.gradle.kts' line: 2
* What went wrong:
Plugin [id: 'com.android.application', version: '8.10.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.10.0')
Searched in the following repositories:
Google
MavenRepo
Gradle Central Plugin Repository
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 5s
My setup:
OpenJDK: 19.0.2 2023-01-17
Gradle: 8.11.1
Android Gradle Plugin: 8.10.0
Thank you in advance!Philip W
05/19/2025, 4:25 AMYukha D
05/19/2025, 4:37 AMgradle.properties
.Yukha D
05/19/2025, 5:06 AMManish Chauhan
05/19/2025, 1:21 PMVampire
05/19/2025, 1:36 PM--refresh-dependencies
- will resolve that
• something intervening and disturbing the download like a Firewall or AntiVirus (or which also happened in the past, government of India requesting a specific version of a specific plugin to be blocked for whatever reason)
• the computer needs to use a proxy to access the outworld which is not configured to be used by GradleManish Chauhan
05/19/2025, 1:40 PMYukha D
05/20/2025, 12:24 AM--refresh-dependencies
and it doesn't solve my problem. So, probably my company proxy configuration prevents the fetch process.