maplibre / maplibre-navigation-android

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

Implementation Issues #62

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 another app

  1. add dependency
  2. implementation ('org.maplibre.gl:android-sdk:10.0.2') { exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-sdk-geojson' exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-sdk-turf' } implementation 'com.github.maplibre:maplibre-navigation-android:2.0.0'
  3. Put code from NavigationUIActivity
  4. Firstly You get "Error inflating class com.mapbox.mapboxsdk.maps.MapView"
  5. After adding to onCreate "Mapbox.getInstance(this)", everything will work
  6. After start navigation you will get "Error inflating class com.mapbox.services.android.navigation.ui.v5.NavigationView". P.S. developer-config.xml created What I do wrong?

Expected behavior

All work like in example

Actual behavior

Errors

RaheemWilson commented 2 weeks ago

@Dandriel how did you fix this issue?