skip to Main Content

Android Studio – Unable to enable ksp for room database when using kotlin DSL build script

Problem: I want to use ksp with room. On adding ksp(libs.androidx.room.compiler) in the module level build.gradle.kts file, I get the following error: Unable to load class 'org.jetbrains.kotlin.gradle.plugin.mpp.pm20.KotlinCompilationData' org.jetbrains.kotlin.gradle.plugin.mpp.pm20.KotlinCompilationData Gradle's dependency cache may be corrupt (this sometimes occurs after a network…

VIEW QUESTION
Back To Top
Search