mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Unity SDK compatibility issues.

Open emmaw1 opened this issue 3 years ago • 1 comments

I'm having compatibility issues as the SDK uses the following versions:

Duplicate class okhttp3.CacheControl found in modules okhttp-3.12.13.jar (com.squareup.okhttp3:okhttp:3.12.13) and okhttp-3.8.0.jar (okhttp-3.8.0.jar)

Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.1.0-runtime.jar (androidx.core:core:1.1.0) and support-compat-25.1.0-runtime.jar (:support-compat-25.1.0:)

And Okio,

Another service I'm using depends on the more recent versions. Is there a newer SDK available please?

emmaw1 avatar Dec 08 '21 12:12 emmaw1

Mapbox is shipping a set of android plugins with the sdk. You will find them in this directory:

image

if you are using other versions of the plugins you should uncheck their include option via:

image

Now your version of the plugin will be used.

If the versions you are using are compatible with mapbox 2.1.1 is another question. But it's woth a try :-)

DevNMY avatar Jan 04 '22 11:01 DevNMY