You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With mapbox-java 5.0.0, Retrofit dependency has been updated to 2.7.1 (see dependencies.gradle).
But Retrofit, from version 2.7.0, requires Java 8+ or Android 5+ (see Retrofit changelog). That's because, in that release, Retrofit's OkHttp dependency was updated to 3.14.4 and OkHttp has those requirements since version 3.13.0 (see OkHttp changelog).
I suggest to use the 3.12.x branch for OkHttp and the 2.6.x branch for Retrofit, at least until they're supported (December 31, 2020 as explained here), since it's the only way to support pre-Lollipop devices.
Furthermore, mapbox-gl-native-android 9.0.0 uses mapbox-java 5.0.0 (see dependencies.gradle), so the android library is affected too.