[PDF] android java version compatibility

Current tools can support all Java 7 and a few Java 8 features on all versions of Android. Additional Java 8 features are only available on API Level 24+, usually because they rely upon certain classes that were only added to the Android SDK at that point.
View PDF Document


  • What version of Java is supported by Android?

    Android Studio includes support for using a number of Java 11+ APIs without requiring a minimum API level for your app. This means that if you use an API introduced in Android 13 (API level 33) the code also works on all previous versions. Most APIs introduced to Android over the years are supported on Android 13.
  • Does Android support Java 17?

    No, JDK 11 remains the default for now. Earlier versions of Gradle and the Android Gradle Plugin do support JDK 17, but a project might contain incompatible Gradle plugins or custom tooling that would break with the change.
  • Does Android support Java 8?

    Java 8 has been supported natively since Android SDK 26. If you wish to use Java 8 language features and your minimal SDK version is lower than 26, . class files produced by the javac compiler need to be converted to bytecode that is supported by these SDK versions. This conversion process is called desugaring.
  • Gradle/JDK version upgrade
    As per the Gradle compatibility matrix Java 17 is supported only on Gradle version 7.3+ . Unfortunately, Gradle 7.0 removed a lot of stuff that has previously been deprecated - so you need to get rid of all deprecation warnings in your codebase before you can upgrade to 7. x .
View PDF Document




Android 1.6 Compatibility Definition

Android follows the package and class namespace conventions defined by the Java programming language. To ensure compatibility with third-party applications 



BlackBerry UEM Compatibility Matrix

You must have the latest version of the BlackBerry Connectivity Node installed. Open JDK 8-based builds that are compatible with Java SE 8 are supported ...



Android 2.3 Compatibility Definition

The version of the currently-executing Android system in managed environment to call into native code



IBM TRIRIGA Application Platform 3.5.1 Compatibility Matrix

Future fix packs for this version are also supported. IBM WebSphere Application Server 8.5.5.9. IBM WebSphere SDK Java Technology Edition 1.8_64 or higher is 



Android 5.1 Compatibility Definition

10 juil. 2015 The version of the currently-executing Android system in human- ... code



Android 7.1 Compatibility Definition

21 juin 2017 The version of the currently-executing Android system in human- ... This prohibition is analogous to that specified for Java language ...



Android 4.3Compatibility Definition

23 juil. 2013 http://source.android.com/compatibility/4.3/versions.html ... This prohibition is analogous to that specified for Java language classes in ...



Android 12 Compatibility Definition

4 oct. 2021 compatibility with the standard Android implementation including and ... The version of the currently-executing Android system



Android 4.2 Compatibility Definition

10 juin 2013 http://source.android.com/compatibility/4.2/versions.html ... native code using the standard Java Native Interface (JNI) semantics.



Android 4.1 Compatibility Definition

24 juin 2013 http://source.android.com/compatibility/4.1/versions.html ... This prohibition is analogous to that specified for Java language classes in ...