flutter_mapbox_navigation
flutter_mapbox_navigation copied to clipboard
Getting java.lang.UnsatisfiedLinkError while using the package
I tried running the example on an emulator and received this. The app crashes instantly afterwards.
E[/AndroidRuntime]()( 4345): FATAL EXCEPTION: main
E[/AndroidRuntime]()( 4345): Process: com.example.basic_nav, PID: 4345
E[/AndroidRuntime]()( 4345): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6mapbox6common14OfflineService16registerObserverERKNSt6__ndk110shared_ptrINS0_22OfflineServiceObserverEEE" referenced by "[/data/app/com.example.basic_nav-8LEH7tIikFIJXx40SXRyGA]()==[/lib/arm64/libnavigator-android.so]()"...
Did you setup the MapBox downloads token per the instruction?
On Feb 9, 2022, at 7:57 AM, AB Satyaprakash @.***> wrote:
I tried running the example on an emulator and received this. The app crashes instantly afterwards.
E/AndroidRuntime( 4345): FATAL EXCEPTION: main E/AndroidRuntime( 4345): Process: com.example.basic_nav, PID: 4345 E/AndroidRuntime( 4345): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6mapbox6common14OfflineService16registerObserverERKNSt6__ndk110shared_ptrINS0_22OfflineServiceObserverEEE" referenced by "/data/app/com.example.basic_nav-8LEH7tIikFIJXx40SXRyGA==/lib/arm64/libnavigator-android.so"... — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
I did. Running flutter clean
and starting over helped. But now I am getting this -
E/AndroidRuntime( 5234): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mapbox/navigation/core/fasterroute/FasterRouteObserver;
Stale issue message