hi all. i've been stuck on this for 2 days now. when i try to build any kmp library it gets stuck on...
e
hi all. i've been stuck on this for 2 days now. when i try to build any kmp library it gets stuck on
Downloading com.android.library.gradle.plugin-8.11.1.pom...
and eventually fails with
Copy code
Plugin [id: 'com.android.library', version: '8.11.1'] was not found in any of the following sources:

* Try:
> 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>.

* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.library', version: '8.11.1'] 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.library:com.android.library.gradle.plugin:8.11.1')
  Searched in the following repositories:
    Google
    MavenRepo
    Gradle Central Plugin Repository
	at org.gradle.plugin.use.resolve.internal.PluginResolutionResult.getFound(PluginResolutionResult.java:112)
	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolvePluginRequest(DefaultPluginRequestApplicator.java:197)
	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:101)
	at org.gradle.kotlin.dsl.provider.PluginRequestsHandler.handle(PluginRequestsHandler.kt:45)
	at org.gradle.kotlin.dsl.provider.StandardKotlinScriptEvaluator$InterpreterHost.applyPluginsTo(KotlinScriptEvaluator.kt:242)
	at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.applyPluginsTo(Interpreter.kt:387)
	at Program.execute(Unknown Source)
	at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.eval(Interpreter.kt:516)
I've tried clearing global and local gradle caches, intellij caches, reinstalling intellij, restarting mac, turning vpn on and off since it was on the first time it happened, and nothing works. I've even tried a completely fresh project from scratch and it still didn't work At this point i'm thinking google's maven repo might be down? because https://maven.google.com/web/index.html shows no libraries. but i've never visited the site before so idk if that's the case. Does any one have any ideas here?
this is my settings.gradle.kts
Copy code
rootProject.name = "common"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

pluginManagement {
    repositories {
        google {
            mavenContent {
                includeGroupAndSubgroups("androidx")
                includeGroupAndSubgroups("com.android")
                includeGroupAndSubgroups("com.google")
            }
        }
        mavenCentral()
        gradlePluginPortal()
    }
}

dependencyResolutionManagement {
    repositories {
        google {
            mavenContent {
                includeGroupAndSubgroups("androidx")
                includeGroupAndSubgroups("com.android")
                includeGroupAndSubgroups("com.google")
            }
        }
        mavenCentral()
    }
}

include(":lib")
also this started on intellij ultimate 2025.2 but i upgraded to 2025.2.1 in the process of trying to fix it
m
e
that's interesting because that link doesn't work for me. it just shows an empty homepage with no artifacts
m
This is what I get
Check with another network?
e
thanks for sharing
you're right i can access from my phone. i'll have to look into what can be causing this. thank you
it was because i had modified my dns server on my mac to be my router, because of some home automation i was previously messing with 🙂. changed my dns servers to good old google and cloudflare and it works (dl.google.com was resolving to a stale ip address). what a relief
🎉 1
👌 2
j