NoClassDefFoundError
-
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/cli/common/PropertiesKtAndroid 2020. 10. 6. 19:06
* What went wrong: org/jetbrains/kotlin/cli/common/PropertiesKt I have this issue in android studio 4.2 canary 13 It looks that the issue on JDK -> When I switch to another JDK version(JDK 8 in my case), the issue is gone
-
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListenerAndroid 2020. 6. 20. 16:45
Error message Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener; Only implementaion in gradle file implementation 'androidx.core:core-ktx:1.3.0' Change in gradle file like below implementation 'androidx.core:core:1.3.0' implementation 'androidx.core:core-ktx:1.3.0'