flutter_mapbox_navigation icon indicating copy to clipboard operation
flutter_mapbox_navigation copied to clipboard

Getting java.lang.UnsatisfiedLinkError while using the package

Open Imperial-lord opened this issue 3 years ago • 2 comments

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]()"...

Imperial-lord avatar Feb 09 '22 12:02 Imperial-lord

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.

eopeter avatar Feb 09 '22 13:02 eopeter

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;

Imperial-lord avatar Feb 13 '22 20:02 Imperial-lord

Stale issue message

eopeter avatar May 24 '23 01:05 eopeter