Added the configuration required in the build.gradle to prevent this error occuring at compile / runtime with minSdkVersion set to 16 (ICS)
The error that occurs without this is as follows:
[CIRCULAR REFERENCE:com.android.tools.r8.ApiLevelException: Static interface methods are only supported starting with Android N (--min-api 24): com.mapbox.geojson.Geometry com.mapbox.geojson.Geometry.fromJson(java.lang.String)]
The other pull request addresses the missing important statement from the MainActivity which also prevents compilation :)
Added the configuration required in the build.gradle to prevent this error occuring at compile / runtime with
minSdkVersion
set to16
(ICS)The error that occurs without this is as follows:
[CIRCULAR REFERENCE:com.android.tools.r8.ApiLevelException: Static interface methods are only supported starting with Android N (--min-api 24): com.mapbox.geojson.Geometry com.mapbox.geojson.Geometry.fromJson(java.lang.String)]
The other pull request addresses the missing important statement from the MainActivity which also prevents compilation :)