When you use Android Gradle Plugin 4.0.0 and newer, you can now use several hundred APIs from newer OpenJDK versions and your app will work on any Android device? Some of these newer Java APIs in Android 11 are supported through backporting while other APIs are also available via desugaring on older devices where the Android platform does not have the APIs on the runtime.

Resources:
Check out the 11 Weeks of Android website → https://goo.gle/30FDT8S
Full list of supported Java 8+ APIs → https://goo.gle/3enaGD5

#java #api #android

Support for Newer Java Language APIs
1.20 GEEK