Reputation: 2480
I'm trying new Java 8+ API desugaring support (Android Gradle Plugin 4.0.0+)
Everything is fine with android app and android library modules but in pure kotlin modules desugared API's get highlighted red with errors similar to:
Call requires API level 26 (current min is 21): java.time.LocalTime#parse
Everything compiles and works well.
Is there something in .gradle file that needs to be specified or is it a bug in IDE?
Upvotes: 2
Views: 1098