Home > Back-end >  Could not initialize class org.jetbrains.kotlin.gradle.plugin.KotlinGradleBuildServices Android Stud
Could not initialize class org.jetbrains.kotlin.gradle.plugin.KotlinGradleBuildServices Android Stud

Time:09-15

I'm using a Mac machine and getting below error while synching the project

Error:

Could not initialize class org.jetbrains.kotlin.gradle.plugin.KotlinGradleBuildServices

I have tried reinstalling the Android Studio and Enabled the Kotlin plugin but did not work. Is there anyone who got this kind of issue before?

The Android Studio version I'm using is Android Studio Chipmunk 2021.2.1 Patch 2

CodePudding user response:

I was able to fix it by updating my org.jetbrains.kotlin:kotlin-gradle-plugin dependency in my project level gradle file to 1.7.10

CodePudding user response:

I resolved it by uninstalling the Kotlin 1.7.10 plugin -> Restart IDE -> Clone fresh project run. It was successfully compiled and running.

  • Related