Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError: No implementation found for com.mapbox.navigator.ConfigHandle #123

Open
zandybillones07 opened this issue Apr 18, 2024 · 0 comments

Comments

@zandybillones07
Copy link

Hi, Im encountering this issue. I'm using the latest version of this library.

RN version: 0.63.3

Here's the code snippet I'm using:
<View style={{ flex: 1 }}> <MapboxNavigation origin={[-97.760288, 30.273566]} destination={[-97.918842, 30.494466]} shouldSimulateRoute={true} onLocationChange={(event) => { const { latitude, longitude } = event.nativeEvent; }} onRouteProgressChange={(event) => { const { distanceTraveled, durationRemaining, fractionTraveled, distanceRemaining, } = event.nativeEvent; }} onError={(event) => { // todo }} onCancelNavigation={() => { // todo }} onArrive={() => { // todo }} > </MapboxNavigation> </View>

and here's the actual log error:
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.evcodriver, PID: 1744 java.lang.UnsatisfiedLinkError: No implementation found for com.mapbox.navigator.ConfigHandle com.mapbox.navigator.ConfigFactory.build(com.mapbox.navigator.SettingsProfile, com.mapbox.navigator.NavigatorConfig, java.lang.String) (tried Java_com_mapbox_navigator_ConfigFactory_build and Java_com_mapbox_navigator_ConfigFactory_build__Lcom_mapbox_navigator_SettingsProfile_2Lcom_mapbox_navigator_NavigatorConfig_2Ljava_lang_String_2) at com.mapbox.navigator.ConfigFactory.build(Native Method) at com.mapbox.navigation.navigator.internal.NavigatorLoader.createNavigator(NavigatorLoader.kt:36) at com.mapbox.navigation.navigator.internal.MapboxNativeNavigatorImpl.create(MapboxNativeNavigatorImpl.kt:101) at com.mapbox.navigation.core.NavigationComponentProvider.createNativeNavigator(NavigationComponentProvider.kt:38) at com.mapbox.navigation.core.MapboxNavigation.<init>(MapboxNavigation.kt:343) at com.mapbox.navigation.core.MapboxNavigation.<init>(MapboxNavigation.kt:200) at com.mapbox.navigation.core.MapboxNavigationProvider.create(MapboxNavigationProvider.kt:23) at com.homee.mapboxnavigation.MapboxNavigationView.onCreate(MapboxNavigationView.kt:483) at com.homee.mapboxnavigation.MapboxNavigationView.onAttachedToWindow(MapboxNavigationView.kt:426) at android.view.View.dispatchAttachedToWindow(View.java:20812) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3490) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3497) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3497) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3497) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3497) at android.view.ViewGroup.addViewInner(ViewGroup.java:5290) at android.view.ViewGroup.addView(ViewGroup.java:5076) at com.facebook.react.views.view.ReactViewGroup.addView(ReactViewGroup.java:465) at android.view.ViewGroup.addView(ViewGroup.java:5016) at com.facebook.react.views.view.ReactClippingViewManager.addView(ReactClippingViewManager.java:38) at com.facebook.react.views.view.ReactClippingViewManager.addView(ReactClippingViewManager.java:19) at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:507) at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:209) at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:917) at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1028) at com.facebook.react.uimanager.UIViewOperationQueue.access$2600(UIViewOperationQueue.java:48) at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1088) at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29) at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175) at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035) at android.view.Choreographer.doCallbacks(Choreographer.java:845) at android.view.Choreographer.doFrame(Choreographer.java:775) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7842) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Thanks in advanced!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant