I got this error suddenly when compiled a signed Apk, and not sure how to fix it.
Entry name 'org/joda/time/tz/data/Europe/Dublin' collided
It's not pointing to any line, this is the Joda library import:
implementation "joda-time:joda-time:2.9.9"
I got the same error on the latest JodaTime version - 2.10.5. But only with some flavors. It seems as a gradle build error. In the my case - I have deleted ./app/build/ folder and then start "Invalidate cache and restart".
If anyone else is trying to generate an APK (and your APK output folder is outside of the build folder), but still having issues after deleting the build folder, and doing "Invalidate cache and restart" on Android Studio, try deleting the previously generated .apk file from your respective APK output folder. See first answer in related question Can't run nor debug project but gradle build+install work
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With