URL of codelab:
https://developer.android.com/codelabs/basic-android-kotlin-compose-practice-bus-schedule-app?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-6-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-practice-bus-schedule-app#0
In which task and step of the codelab can this issue be found?
Step 2, download starter code
Describe the problem
When building the project, I'm getting the following error message:
- Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '8.0.2', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:8.0.2')
Searched in the following repositories:
Google
MavenRepo
Steps to reproduce?
I cloned the repo and switched to the starter branch
I opened the project in IntelliJ
I tried to build the project with
This is the settings.gradle file content
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "Bus Schedule"
include(":app")
URL of codelab:
https://developer.android.com/codelabs/basic-android-kotlin-compose-practice-bus-schedule-app?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-6-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-practice-bus-schedule-app#0
In which task and step of the codelab can this issue be found?
Step 2, download starter code
Describe the problem
When building the project, I'm getting the following error message:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '8.0.2', apply: false] was not found in any of the following sources:
Searched in the following repositories:
Google
MavenRepo
Steps to reproduce?
I cloned the repo and switched to the starter branch
I opened the project in IntelliJ
I tried to build the project with
This is the settings.gradle file content
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "Bus Schedule"
include(":app")