注册

Android 5.0 视频无法找到libeasamob_jni.so

在GalaxyS4 android 5.0上开发环信应用发现无法视频.请帮忙看看怎么回事?
08-08 23:49:59.231: E/AndroidRuntime(27638): FATAL EXCEPTION: main
08-08 23:49:59.231: E/AndroidRuntime(27638): Process: com.nut.teamradar, PID: 27638
08-08 23:49:59.231: E/AndroidRuntime(27638): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.nut.teamradar-1/base.apk"],nativeLibraryDirectories=[/data/app/com.nut.teamradar-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libeasemob_jni.so"
08-08 23:49:59.231: E/AndroidRuntime(27638):     at java.lang.Runtime.loadLibrary(Runtime.java:366)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at java.lang.System.loadLibrary(System.java:989)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at com.easemob.media.AVNative.(Unknown Source)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at com.easemob.a.a.(Unknown Source)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at com.easemob.a.a.a(Unknown Source)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at com.easemob.chat.EMVideoCallHelper.setSurfaceView(Unknown Source)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at com.nut.teamradar.VideoCallActivity.onCreate(VideoCallActivity.java:141)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.app.Activity.performCreate(Activity.java:6289)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.app.ActivityThread.access$900(ActivityThread.java:177)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.os.Handler.dispatchMessage(Handler.java:102)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.os.Looper.loop(Looper.java:145)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at android.app.ActivityThread.main(ActivityThread.java:5942)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at java.lang.reflect.Method.invoke(Native Method)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at java.lang.reflect.Method.invoke(Method.java:372)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
08-08 23:49:59.231: E/AndroidRuntime(27638):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
已邀请:

[已注销]

赞同来自: lizg

这个应该是程序首先在v7a这个文件下找jni.so库了,问题解决掉就好
找不到jni.so这个库,你看下加这个库文件了吗?你有v7a这个包吗?在这个包下也加下jni.so库文件
在V7a中加入jni.so就好了,但SDK中并未这样给出.

要回复问题请先登录注册