maplibre / maplibre-navigation-android

Maplibre Navigation SDK for Android
MIT License
86 stars 44 forks source link

Can't use like implementation #61

Closed Dandriel closed 1 year ago

Dandriel commented 1 year ago

Android API: 33 Maplibre Navigation SDK version: 2.0.0

Steps to trigger behavior

  1. Use implementation 'com.github.maplibre:maplibre-navigation-android:2.0.0'
  2. No objects after com.mapbox.mapboxsdk.* available

Expected behavior

Have access to, for example, com.mapbox.mapboxsdk.Mapbox.

Actual behavior

Have no access to classes. But inside example with this libraries is work perfect.

Fabi755 commented 1 year ago

Did you add the maven { url 'https://jitpack.io' } part?

Dandriel commented 1 year ago

After I add

implementation ('org.maplibre.gl:android-sdk:10.2.0') {
        exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-sdk-geojson'
        exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-sdk-turf'
    }

everything start work. But i do not know is it right? Also about this no information in read.me. :(