MarkRS
06/26/2023, 8:44 AMjava.lang.NoSuchMethodError: No virtual method Int$class-BillingManager()I in class L.../LiveLiterals$BillingManagerKt; or its super classes (declaration of '....LiveLiterals$BillingManagerKt' appears in /data/app/~~E_lR4r6b7XyXTOKpNrELhg==/...-KBa2hT_RN0cmb1Z9Gqnwjg==/base.apk!classes3.dex)
but I've switched Live Literals to every possibility from on to off in the project settings and this is what I get.
BillingManager is my own class, expected in commonMain and actual-ly in androidMain.
Is this a bug of mine, or somewhere else?shikasd
06/26/2023, 12:31 PMMarkRS
06/26/2023, 1:31 PMshikasd
06/26/2023, 1:32 PMshikasd
06/26/2023, 1:33 PMMarkRS
06/26/2023, 1:33 PMMarkRS
06/26/2023, 1:48 PMtasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompileCommon>().configureEach {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + listOf(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:liveLiteralsEnabled=false",
)
}
}
in the build file for the shared module, cleaned and rebuilt the project and cleared caches and restarted AS... still got the LiveLiterals error :(shikasd
06/26/2023, 1:50 PMMarkRS
06/26/2023, 1:53 PMshikasd
06/26/2023, 2:01 PM