cannot resolve symbol 'java.time.LocalDate' error in android studio

前端 未结 3 1582
北海茫月
北海茫月 2020-11-27 07:44

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

3条回答
  •  长情又很酷
    2020-11-27 08:00

    Finally date/time-API contained in Java 8 is added to Android API level 26 which was recently released.

    DateTimeFormatter API 26

提交回复
热议问题