-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add android app transformation support in the 'kotlinx-atomicfu' plugin #145
Comments
I'm also getting this error when running a KMM app. The iOS side runs fine, just android throws |
Getting this when running a MPP project that has common and jvm code. There's a module ( There's another module that is a desktop jvm app, which depends on
|
I'm working on the |
Hi, I also had the NoClassDefFoundError on my Android app. I managed to avoid it by manually adding the dependency to the commonMain of my multiplatform module:
I think allowing the code to compile on Android only to crash immediately on use is a fairly major issue. Can the README get updated to include the status of Android support (which is a key target for Kotlin multiplatform development)? Also the README recommends using:
I think the use of compile has been deprecated in Gradle for a long time (e.g. should be changed to implementation). Also since Kotlin1.4 the "-common" postfix is not used (and hence the dependency does not resolve unless the -common postfix is removed). |
Seems that using 'kotlinx-atomicfu' plugin in the Android app is not supported:
:transformAtomicfuClasses
task in buildNoClassDefFoundError: Failed resolution of: Lkotlinx/atomicfu/AtomicFU
in runtimeMay I'm doing something wrong?
The text was updated successfully, but these errors were encountered: