Skip to content

Version 5.0.0 requires Java 8+ or Android 5+, because of Retrofit 2.7.1 #1127

@xit0c

Description

@xit0c

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions