MarkRS
06/16/2023, 8:29 AMjava.lang.NoSuchMethodError: No virtual method Int$class-BillingManager()I in class L<package>/shared/datamanagers/LiveLiterals$BillingManagerKt; or its super classes (declaration of '<package>.shared.datamanagers.LiveLiterals$BillingManagerKt' appears in /data/app/~~fzP5e5Nw7VRAFkW7ArMVJw==/<package>-4gCt-8VT8IkdbhUyQ1Uo1w==/base.apk!classes3.dex)
I have no idea where to go with this.
The only real difference code between debug and release is the release version loads ACRA in attachBaseContext while debug has a stackTraceLogger in onCreate. The gradle build is very slightly different, but I've switched almost everything in debug and still get the crash...
This crash doesn't occur in my previous, non-compose, version in any flavour.
Any ideas for what it is or what I could look for?shikasd
06/16/2023, 10:39 AMMarkRS
06/16/2023, 11:02 AMshikasd
06/16/2023, 11:06 AMMarkRS
06/16/2023, 11:49 AMe: java.lang.IllegalStateException: e: Could not find "/home/mark/AndroidStudioProjects/MM4/shared/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.kotlinx-atomicfu-0.18.5-nativeInterop-EtwJsg.klib" in [/home/mark/.local/share/kotlin/daemon]
I have included atomicfu (albeit version 0.20.2) in my project gradle build file, even though it should be included from Kotlin plugins (I believe), but...MarkRS
06/16/2023, 11:50 AMshikasd
06/16/2023, 11:51 AMMarkRS
06/16/2023, 11:52 AMshikasd
06/16/2023, 11:53 AMshikasd
06/16/2023, 11:53 AMshikasd
06/16/2023, 11:54 AMrunning [targetName]
MarkRS
06/16/2023, 11:56 AMMarkRS
06/16/2023, 11:59 AMshikasd
06/16/2023, 12:00 PMMarkRS
06/16/2023, 12:00 PMMarkRS
06/16/2023, 12:01 PMshikasd
06/16/2023, 12:03 PM./gradlew clean
and then try to build againMarkRS
06/16/2023, 12:07 PMTask :shared:compileCommonMainKotlinMetadata FAILED
While looking for atomicfu as above.
(Thank you for your help with this, btw. I appreciate it!)shikasd
06/16/2023, 12:57 PMMarkRS
06/16/2023, 4:36 PM