PinEntryEditText: Crash with AndroidX 1.0.0
Hello & thanks for your work!
Latest versions (2.0.0-RC1 & 2.0.1-RC1), used with AndroidX 1.0.0, crash in runtime with:
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/legacy/view/ViewCompat;
This class is marked as deprecated and seems to be removed from AndroidX artifacts. Probably replacing androidx.legacy.view.ViewCompat
with androidx.core.view.ViewCompat
will resolve this issue.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 17 (8 by maintainers)
Commits related to this issue
- Try to solve issue #45 — committed to alphamu/PinEntryEditText by deleted user 6 years ago
- Try to solve issue #45 — committed to alphamu/PinEntryEditText by deleted user 6 years ago
Updating the publishing plugins seems to have solved the issue. I was basically using the wrong version of the android-maven-gradle-plugin for my version of gradle.
AAAAAAAAAArg! I’ve released
2.0.2
to bintray. Please give it a try and let me know if this solves your problem.One workaround is explicitly adding legacy support dependency:
implementation 'androidx.legacy:legacy-support-v13:1.0.0'