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.


7 months ago
Expert tip

Solutions on the web90

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/kr.co.vcnc.android.couple/app_lib/librealm-jni.so" is 32-bit instead of 64-bit

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
dlopen failed: "/data/data/com.my.app/my_native/libmyNative.so" is 32-bit instead of 64-bit

Solution icon of github
dlopen failed: "/data/data/com.weyao.littlebee/files/libweexv8bk1.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.github.markzhai.react.preloader.demo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

Solution icon of stackoverflow
dlopen failed: "/data/data/com.ibm.myApp/files/libcrypto.so.1.0.0" is 32-bit instead of 64-bit

Solution icon of github
via GitHub by busylee999
, 5 months ago
dlopen failed: "/data/data/<apppackage>/app_lib/libmylib.so" 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

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, 11 months ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
134 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
43 more bugmates