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 cannot locate symbol referenced by "**==/base.apk!/lib/arm64-v8a/libmapbox-maps.so" #141

Open
liute110 opened this issue Sep 7, 2022 · 0 comments

Comments

@liute110
Copy link

liute110 commented Sep 7, 2022

Hi, I met java.lang.UnsatisfiedLinkError when use mapbox navigation android adk(com.mapbox.navigation:android:2.7.0) . Could anyone help to look at this issue.

Here is my log:

2022-09-07 15:11:08.554 24451-24451/com.microsoft.asr.gm E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.microsoft.asr.gm, PID: 24451
    java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6mapbox6common13EventsServiceC1EONS0_20EventsServiceOptionsE" referenced by "/data/app/com.microsoft.asr.gm-j54wwzuJHGgSj6NZVHisaA==/base.apk!/lib/arm64-v8a/libmapbox-maps.so"...
        at android.app.ActivityThread.installProvider(ActivityThread.java:7755)
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:7291)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7187)
        at android.app.ActivityThread.access$2200(ActivityThread.java:296)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2208)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:213)
        at android.app.ActivityThread.main(ActivityThread.java:8178)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
     Caused by: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6mapbox6common13EventsServiceC1EONS0_20EventsServiceOptionsE" referenced by "/data/app/com.microsoft.asr.gm-j54wwzuJHGgSj6NZVHisaA==/base.apk!/lib/arm64-v8a/libmapbox-maps.so"...
        at androidx.startup.AppInitializer.doInitialize(AppInitializer.java:187)
        at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:238)
        at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:206)
        at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:45)
        at android.content.ContentProvider.attachInfo(ContentProvider.java:2121)
        at android.content.ContentProvider.attachInfo(ContentProvider.java:2094)
        at android.app.ActivityThread.installProvider(ActivityThread.java:7750)
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:7291) 
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7187) 
        at android.app.ActivityThread.access$2200(ActivityThread.java:296) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2208) 
        at android.os.Handler.dispatchMessage(Handler.java:107) 
        at android.os.Looper.loop(Looper.java:213) 
        at android.app.ActivityThread.main(ActivityThread.java:8178) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101) 
     Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6mapbox6common13EventsServiceC1EONS0_20EventsServiceOptionsE" referenced by "/data/app/com.microsoft.asr.gm-j54wwzuJHGgSj6NZVHisaA==/base.apk!/lib/arm64-v8a/libmapbox-maps.so"...
        at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
        at java.lang.System.loadLibrary(System.java:1668)
        at com.mapbox.common.loader.MapboxLibraryLoader.load(MapboxLibraryLoader.kt:19)
        at com.mapbox.maps.loader.MapboxMapsInitializer.create(MapboxMapsInitializer.java:16)
        at com.mapbox.maps.loader.MapboxMapsInitializer.create(MapboxMapsInitializer.java:13)
        at androidx.startup.AppInitializer.doInitialize(AppInitializer.java:180)
        at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:238) 
        at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:206) 
        at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:45) 
        at android.content.ContentProvider.attachInfo(ContentProvider.java:2121) 
        at android.content.ContentProvider.attachInfo(ContentProvider.java:2094) 
        at android.app.ActivityThread.installProvider(ActivityThread.java:7750) 
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:7291) 
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7187) 
        at android.app.ActivityThread.access$2200(ActivityThread.java:296) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2208) 
        at android.os.Handler.dispatchMessage(Handler.java:107) 
        at android.os.Looper.loop(Looper.java:213) 
        at android.app.ActivityThread.main(ActivityThread.java:8178) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101) 
2022-09-07 15:11:08.587 24451-24451/com.microsoft.asr.gm I/Process: Sending signal. PID: 24451 SIG: 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants