Skip to content

why this version not found in gradle? #2021

Open

Description

I'm an android developer. Why on earth does this error occur when adding ksp to gradle?

The official Android document says to add 1.8.10-1.0.9, but Plugin [id: 'com.google.devtools.ksp', version: '1.8.10-1.0.9', apply: false] was not found in any of the following sources: This error occurs. Of course, there is no problem with the repository path.

The same applies if you use 1.9.0-1.0.13 in the release version.
these versions are in releases. why cannot work?

this version works thought
1.9.24-1.0.20

this is my settings.gradle code below

pluginManagement {
    repositories {
        google {
            content {
                includeGroupByRegex("com\\.android.*")
                includeGroupByRegex("com\\.google.*")
                includeGroupByRegex("androidx.*")
            }
        }
        mavenCentral()
        gradlePluginPortal()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions