本文主要是介绍解决动态加载java.lang.UnsatisfiedLinkError: dlopen failed * is 32-bit instead of 64-bit 报错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
用动态加载的方式拉起插件apk,由于插件apk中有so文件,于是出现错误
E/AndroidRuntime: FATAL EXCEPTION: Thread-7Process: androidx.xxxxxxdemo, PID: 8303java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/xxxxxxxx/app.apk-dir/lib/libxxxxxx.so" is 32-bit instead of 64-bitat java.lang.Runtime.loadLibrary0(Runtime.java:1016)at java.lang.System.loadLibrary(System.java:1657)at vivali.utility.xxxxxxx.xxxxxxx.<clinit>(xxxxxxx.java:9)at com.example.xxxxxxx.xxxxxx.xxxxxxActivity.xxxxxx(xxxxxxActivity.java:676)
这篇关于解决动态加载java.lang.UnsatisfiedLinkError: dlopen failed * is 32-bit instead of 64-bit 报错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!