问题描述
FATAL EXCEPTION: main Process: com.example.mulin, PID: 18492 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.mulin-2/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libhyphenate_av.so" at java.lang.Runtime.loadLibrary(Runtime.java:366) at java.lang.System.loadLibrary(System.java:988) at com.hyphenate.chat.EMClient.loadLibrary(Unknown Source) at com.hyphenate.chat.EMClient.getInstance(Unknown Source) at com.example.mulin.main.mulinApplication.initHuanxinSDK(mulinApplication.java:28) at com.example.mulin.main.mulinApplication.onCreate(mulinApplication.java:19) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4569) at 下图是我的libs目录
解决方案
jar和so都是使用一个版本下的libs文件夹下的吗,so按照libs放在对应目录下,可以将armeabi-v7a去掉,使用armeabi就行