cannot resolve symbol 'java.time.LocalDate' error in android studio
问题 I am trying to use java.time.LocalDate in my android app, however if I try to import it, then any class from java.time gives a cannot resolve symbol error in Android studio 1.1 The only reason I could figure out for this is that it doesn't support java 8. Is that really the case? 回答1: Android API level 26 Android API level 26 gained an implementation of java.time including your LocalDate class. Earlier Android For Android <26, alternatives include: ThreeTen-Backport is a back-port of much of