Hello! I've created compose application for Androi...
# compose
p
Hello! I've created compose application for Android and desktop. While on desktop it is running with no problem, for Android I've got
Copy code
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.compose.material.icons.outlined.ArrowCircleLeftKt"
Both targets have dependency for extended material icons. What may be the problem?
j
it could be that R8 is erroneously thinking that
ArrowCircleLeftKt
is unused, and so is removing it during minification does the error occur with and without minification?
p
Error also occurs without minification.
y
Try to update your proguard rules, or add
@Keep
annotation on the
ArrowCircleLeftKt
class. for more information check this link https://developer.android.com/studio/build/shrink-code#usage