I have an app with Arcgis android sdk version 100.5.0, it is working fine with Java 8, but need to use Java 6 for some dependencies. May I know the compatibility of Java 6 with version 100.5.0.
It gives me this error though, [ with java 6 ]
Error:com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
I need to keep the minSDK to 19 only, no scope to upgrade to 26 currently.
Hi Devendra,
The ArcGIS Runtime SDK for Android requires Java 8 source code compatibility:
https://developers.arcgis.com/android/latest/guide/develop-your-first-map-app.htm#ESRI_SECTION1_DF32...
Gunther
Run-time SDK 100.5.0 has the dependency over Java 8 ! Can't I use some other run-time version that supports Java6.
Just now , while doing trial error, I used 100.4.0 with Java 6 and gave me no errors.
Hi Devendra,
Correct, the Java 8 requirement was introduced with version 100.5.0. Previous 100.x versions of the ArcGIS Runtime SDK for Android required Java 7 compatibility. There is no official support for a lower Java version.
Gunther