-
Notifications
You must be signed in to change notification settings - Fork 493
couldn't find DSO to load: libmapbox-gl.so #1280
Comments
Hello guys I also have this error. I upgraded my version of
to
and that crashes at start up . Any idea on this error? |
@Novajox , you're getting the same crash as the one in the comment above yours? If not, what's the message in your logcat during the crash? Try uninstalling the app from your device and also clearing the Android Studio cache. Go to |
Hello @langsmith Here is the log (when I start the activity which contains a map, and it works perfectly on 8.1)
|
I started getting the same exception all of the sudden. I was not updating any mapbox versions, which is odd, no idea where is this coming from.
|
Ok, looks like it's caused by 8.5.0 update |
@AAverin do you have the mavenCentral() repository in the allprojects part in the build.gradle file? |
@mrfaa I think only google and jCenter |
maybe you can try adding mavenCentral(). Does that fix your issue? |
I don't think it's related. I experience issue in flutter wrapper around mapbox and pretty sure internally everything is setup correctly |
Please refer to mapbox/mapbox-gl-native-android#111 (comment) |
LibraryLoader.setLibraryLoader(new LibraryLoader() { worked for me on 9.1.0 Thank you very much |
Closing because we've got remedies for this error message:
|
@langsmith invalidate cache will not help because it's a bug in SoLoader that was fixed some time ago. MapBox SDK should update it's dependencies and release a new version |
Resolved those issues by implementing this step in a flutter project. Might work for you too. packagingOptions { |
This worked for me. Thank you. I had set aside this project after working for 40+ hours fixing this issue with no result. |
Thank you so much. This worked for me too. May God bless you |
Welcome 😃
…On Sat, 5 Jun 2021, 11:33 pm prasid444, ***@***.***> wrote:
Resolved those issues by implementing this step in a flutter project.
Might work for you too.
Add packagingOption in android>app>build.gradle
[image: Screenshot 2021-05-31 011018]
<https://user-images.githubusercontent.com/42827734/120117460-0312d180-c1ad-11eb-965e-1befe78504a8.jpg>
packagingOptions {
pickFirst '*/armeabi-v7a/libmapbox-gl.so' pickFirst '*
/x86/libmapbox-gl.so'
pickFirst '*/arm64-v8a/libmapbox-gl.so' pickFirst '*
/x86_64/libmapbox-gl.so'
pickFirst '**/x86/libmapbox-gl.so'
}
This worked for me. Thank you. I had set aside this project after working
for 40+ hours fixing this issue with no result.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKGX7VSGMTGYN4WA6OGIZK3TRJPNFANCNFSM4J7ZCC2Q>
.
|
My pleasure 😃
…On Sun, 27 Jun 2021, 5:14 pm Nouhoum IbraHim Traoré, < ***@***.***> wrote:
Resolved those issues by implementing this step in a flutter project.
Might work for you too.
Add packagingOption in android>app>build.gradle
[image: Screenshot 2021-05-31 011018]
<https://user-images.githubusercontent.com/42827734/120117460-0312d180-c1ad-11eb-965e-1befe78504a8.jpg>
packagingOptions {
pickFirst '*/armeabi-v7a/libmapbox-gl.so' pickFirst '*
/x86/libmapbox-gl.so'
pickFirst '*/arm64-v8a/libmapbox-gl.so' pickFirst '*
/x86_64/libmapbox-gl.so'
pickFirst '**/x86/libmapbox-gl.so'
}
Thank you so much. This worked for me too. May God bless you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKGX7VWQ5MYOPRA2D2XUECDTU4DQ5ANCNFSM4J7ZCC2Q>
.
|
The text was updated successfully, but these errors were encountered: