I just installing android studio with the latest update, but gradle sync failed.
` Plugin [id: 'org.jetbrains.kotlin.android', version: '1.9.0', apply: false] was not found in any of the following sources:
attached screencapture for reference here : build.gradle + setting.gradle
The Compose plugin is likely not available for Kotlin version 1.9.0. The Compose plugin is available from Kotlin version 2.0.0 onwards.
Solution: Update the Kotlin version to 2.0.0 or higher in the build.gradle.kts file and make sure that the Compose plugin version matches the Kotlin version.
I just faced the same issue. This is what helped me solve the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With