mapbox / flutter-mapbox-gl

Moved to https://github.com/tobrun/flutter-mapbox-gl
Other
271 stars 60 forks source link

Add configuration steps to prevent circular reference at compile time. #66

Closed Codex- closed 5 years ago

Codex- commented 5 years ago

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 :)