java.lang.UnsatisfiedLinkError

dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libmttwebview.so" is 32-bit instead of 64-b


Samebug tips1

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web2352

Solution icon of github
dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libmttwebview.so" is 32-bit instead of 64-b

Solution icon of github
dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libmttwebview.so" is 32-bit instead of 64-b

Solution icon of github
dlopen failed: "/data/data/com.github.markzhai.react.preloader.demo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

Solution icon of github
via GitHub by jkomyno
, 4 months ago
dlopen failed: "/data/data/com.airbnb.android.react.maps.example/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

Solution icon of github
via GitHub by busylee999
, 3 months ago
dlopen failed: "/data/data/<apppackage>/app_lib/libmylib.so" is 32-bit instead of 64-bit

Solution icon of stackoverflow
dlopen failed: "/data/data/com.my.app/app_native/libmyNative.so" is 32-bit instead of 64-bit

Solution icon of stackoverflow
via Stack Overflow by Aur&#233;lien
, 10 months ago
dlopen failed: "/data/data/com.ibm.myApp/files/libcrypto.so.1.0.0" is 32-bit instead of 64-bit

Solution icon of github
dlopen failed: "/data/data/com.p1.mobile.putong/lib-main/libsqlite3x.so" is 32-bit instead of 64-bit

Solution icon of github
dlopen failed: "/data/data/com.pushdemo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

Solution icon of github
dlopen failed: "/data/data/com.demo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

Stack trace

  • java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libmttwebview.so" is 32-bit instead of 64-b at java.lang.Runtime.load(Runtime.java:332) at java.lang.System.load(System.java:1069) at com.tencent.smtt.webkit.ContextHolder.loadMttWebViewLib(Unknown Source) at com.tencent.smtt.webkit.ContextHolder.setContext(Unknown Source) at com.tencent.smtt.webkit.ContextHolder.setContext(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at com.tencent.tbs.x5core.X5CoreInit.setContextHolderParams(Unknown Source) at com.tencent.tbs.tbsshell.TBSShell.initX5CoreImpl(Unknown Source) at com.tencent.tbs.tbsshell.WebCoreProxy.canUseX5(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at com.tencent.smtt.sdk.bi.a(Unknown Source) at com.tencent.smtt.sdk.bh.a(Unknown Source) at com.tencent.smtt.sdk.f.run(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
134 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
43 more bugmates