-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I am trying to use this library in the project but got the crash
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/ui/platform/LocalSoftwareKeyboardController;
at com.yogeshpaliyal.speld.OtpViewKt.PinInput(OtpView.kt:81)
at com.health.zyephr.featureModules.abha.views.enrollment.screen.validateotpforaadhaar.components.ValidateOtpForAadhaarKt.ValidateOtpForAadhaar(ValidateOtpForAadhaar.kt:18)
at com.health.zyephr.featureModules.abha.views.enrollment.screen.validateotpforaadhaar.components.ValidateOtpForAadhaarKt.PreviewValidateOtpForAadhaar(ValidateOtpForAadhaar.kt:30)
... 68 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.compose.ui.platform.LocalSoftwareKeyboardController" on path: DexPathList[[zip file "/data/app/~~gRDIJZykEHNQWEhHDt4kPw==/com.health.zyephr-4pffddMASXmr0ocAR2ckyA==/base.apk"],nativeLibraryDirectories=[/data/app/~~gRDIJZykEHNQWEhHDt4kPw==/com.health.zyephr-4pffddMASXmr0ocAR2ckyA==/lib/arm64, /data/app/~~gRDIJZykEHNQWEhHDt4kPw==/com.health.zyephr-4pffddMASXmr0ocAR2ckyA==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
... 71 more
I am using compose bom version 2024:08:00. I did a little bit research and found this discussion on ExperimentalApi annotation and seems like this is the case only in this library .