ThreeTen-Backport error on Android – ZoneRulesException: No time-zone data files registered

For Android project you should use implementation ‘com.jakewharton.threetenabp:threetenabp:1.0.3’ Make sure you call AndroidThreeTen.init(this); before using the classes from the library. This will read the time zones data (included in the library). You can initialize the library in your Application class in the onCreate method just like it is recommended in the README.

How to use ThreeTenABP in Android Project

Attention: This answer, while technically correct, is now out of date Java 8+ API desugaring support now available via Android Gradle Plugin 4.0.0+ (Also see Basil Bourque’s answer below) Development on the ThreeTenABP Library is winding down. Please consider switching to Android Gradle plugin 4.0, java.time.*, and its core library desugaring feature in the coming … Read more