-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Proguard warning about kotlinx.atomicfu.AtomicBoolean #1155
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
Comments
Please ignore this warning. |
* Updated to 0.12.7 version of atmoicfu with fixes. * Added test that that is no references to atomicfu in any of the resulting class files. Fixes #1155
cannot build my release apk , please help |
* Updated to 0.12.7 version of atmoicfu with fixes. * Added test that that is no references to atomicfu in any of the resulting class files. Fixes #1155
You can use |
I am still getting this Gradle Plugin error: kotlinx.atomicfu.AtomicFU: can't find referenced method 'void setInterceptor(kotlinx.atomicfu.AtomicOperationInterceptor)' in program class kotlinx.atomicfu.InterceptorKt This is while using kotlinx-coroutines-core and kotlinx-coroutines-android in both shared Kotlin library included as .aar and in application project itself. I tried explicit includes like the following: implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$serialization_version" |
The fix is in |
More specifically, the rule to get past this is: |
Might be related to #1116.
Coroutines v1.2.1, ProGuard v.6.0.3
I'm getting
Warning: kotlinx.coroutines.flow.FlowKt__MergeKt: can't find referenced class kotlinx.atomicfu.AtomicBoolean
when building the app.The text was updated successfully, but these errors were encountered: