Ramón Telleria
Ramón Telleria

Reputation: 11

How to solve the error in "Plugin [id: 'org.jetbrains.kotlin.android', version: '1.9.0', apply: false] was not found in any... "?

Context: There is an error in Android Studio Ladybug version 2024.2.1 Patch 3 that says "Plugin [id: 'org.jetbrains.kotlin.android', version: '1.9.0', apply: false] was not found in any..."

Upvotes: 0

Views: 95

Answers (1)

Ramón Telleria
Ramón Telleria

Reputation: 11

It's very easy, although at first it hurt my head, but it's simply a matter of deleting those lines in those 2 files. The files are:

libs.versions.toml: delete the line "kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }"

build.gradle.kts (Project): delete the line "alias(libs.plugins.kotlin.compose)" I hope it's the solution for many others. Greetings.

Upvotes: 0

Related Questions