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

Mapbox Android GL SDKS 8.5.0 and later cause a crash. #355

Open
Yermo opened this issue Apr 28, 2020 · 0 comments
Open

Mapbox Android GL SDKS 8.5.0 and later cause a crash. #355

Yermo opened this issue Apr 28, 2020 · 0 comments

Comments

@Yermo
Copy link
Owner

Yermo commented Apr 28, 2020

Under Android with NativeScript:
'
✔ Getting NativeScript components versions information...
✔ Component nativescript has 6.5.0 version and is up to date.
✔ Component tns-core-modules has 6.5.1 version and is up to date.
✔ Component tns-android has 6.5.0 version and is up to date.
'

Using MapBox Android SDK's 8.5.0 through 9.1.0 causes the following crash. Falling back to 8.4.0 does not.

System.err: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/org.nativescript.mapbox/lib-main/libmapbox-gl.so" has unexpected e_machine: 40 (EM_ARM) System.err: at java.lang.Runtime.load0(Runtime.java:928) System.err: at java.lang.System.load(System.java:1633) System.err: at com.facebook.soloader.SoLoader$1.load(SoLoader.java:393) System.err: at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:77) System.err: at com.facebook.soloader.UnpackingSoSource.loadLibrary(UnpackingSoSource.java:458) System.err: at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:731) System.err: at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:639) System.err: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:577) System.err: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:525) System.err: at com.mapbox.mapboxsdk.module.loader.LibraryLoaderProviderImpl$SoLibraryLoader.load(LibraryLoaderProviderImpl.java:42) System.err: at com.mapbox.mapboxsdk.LibraryLoader.load(LibraryLoader.java:43) System.err: at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<clinit>(NativeConnectivityListener.java:13) System.err: at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43) System.err: at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67) System.err: at com.tns.Runtime.callJSMethodNative(Native Method) System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286) System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173) System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1160) System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1138) System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1134) System.err: at com.tns.gen.java.lang.Runnable.run(Runnable.java:17) System.err: at android.os.Handler.handleCallback(Handler.java:873) System.err: at android.os.Handler.dispatchMessage(Handler.java:99) System.err: at android.os.Looper.loop(Looper.java:193) System.err: at android.app.ActivityThread.main(ActivityThread.java:6669) System.err: at java.lang.reflect.Method.invoke(Native Method) System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) System.err: An uncaught Exception occurred on "main" thread. System.err: Calling js method run failed

Yermo added a commit that referenced this issue Apr 28, 2020
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