Is it possible to use Java 8 for Android development?

UPDATE 2017/11/04 – Android Studio 3.0 now has native support for Java 8. gradle-retrolambda is now no longer needed. See https://developer.android.com/studio/write/java8-support.html The above link also includes migration instructions if you are using gradle-retrolambda. Original answer below: Android does not support Java 8. It only supports up to Java 7 (if you have kitkat) and still … Read more

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