问题描述
04-12 12:40:41.753 201-553/? E/ADB_SERVICES: ERROR: fd = 6, n = -1, errno = 5 (I/O error)04-12 12:40:43.971 201-1213/? E/ADB_SERVICES: ERROR: fd = 6, n = -1, errno = 5 (I/O error)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: Couldn't load easemob_jni from loader dalvik.system.PathClassLoader[DexPathList[dexElements=[zip file "/mnt/asec/com.lifuz.yzy-1/pkg.apk", zip file "/data/data/com.lifuz.yzy/code_cache/secondary-dexes/pkg.apk.classes2.zip"],nativeLibraryDirectories=[/mnt/asec/com.lifuz.yzy-1/lib, /vendor/lib, /system/lib]]]: findLibrary returned null04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: java.lang.UnsatisfiedLinkError: Couldn't load easemob_jni from loader dalvik.system.PathClassLoader[DexPathList[dexElements=[zip file "/mnt/asec/com.lifuz.yzy-1/pkg.apk", zip file "/data/data/com.lifuz.yzy/code_cache/secondary-dexes/pkg.apk.classes2.zip"],nativeLibraryDirectories=[/mnt/asec/com.lifuz.yzy-1/lib, /vendor/lib, /system/lib]]]: findLibrary returned null04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at java.lang.Runtime.loadLibrary(Runtime.java:359)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at java.lang.System.loadLibrary(System.java:514)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at com.easemob.media.AVNative.<clinit>(Unknown Source)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at com.easemob.a.a.<init>(Unknown Source)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at com.easemob.a.a.a(Unknown Source)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at com.easemob.chat.EMVideoCallHelper.setSurfaceView(Unknown Source)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at com.lifuz.yzy.hxsdk.applib.demo.activity.VideoCallActivity.onCreate(VideoCallActivity.java:125)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.app.Activity.performCreate(Activity.java:5141)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.app.ActivityThread.access$600(ActivityThread.java:156)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.os.Handler.dispatchMessage(Handler.java:99)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.os.Looper.loop(Looper.java:153)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at android.app.ActivityThread.main(ActivityThread.java:5297)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at java.lang.reflect.Method.invokeNative(Native Method)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at java.lang.reflect.Method.invoke(Method.java:511)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)04-12 12:40:50.946 874-874/com.lifuz.yzy A/MobUncaughtExceptionHandler: at dalvik.system.NativeStart.main(Native Method)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: FATAL EXCEPTION: main04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: java.lang.UnsatisfiedLinkError: Couldn't load easemob_jni from loader dalvik.system.PathClassLoader[DexPathList[dexElements=[zip file "/mnt/asec/com.lifuz.yzy-1/pkg.apk", zip file "/data/data/com.lifuz.yzy/code_cache/secondary-dexes/pkg.apk.classes2.zip"],nativeLibraryDirectories=[/mnt/asec/com.lifuz.yzy-1/lib, /vendor/lib, /system/lib]]]: findLibrary returned null04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:359)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at java.lang.System.loadLibrary(System.java:514)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at com.easemob.media.AVNative.<clinit>(Unknown Source)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at com.easemob.a.a.<init>(Unknown Source)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at com.easemob.a.a.a(Unknown Source)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at com.easemob.chat.EMVideoCallHelper.setSurfaceView(Unknown Source)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at com.lifuz.yzy.hxsdk.applib.demo.activity.VideoCallActivity.onCreate(VideoCallActivity.java:125)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5141)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.app.ActivityThread.access$600(ActivityThread.java:156)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.os.Looper.loop(Looper.java:153)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5297)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:511)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)04-12 12:40:50.959 874-874/com.lifuz.yzy E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)04-12 12:40:50.974 669-688/? E/AppErrorDialog: Failed to get ILowStorageHandle instance04-12 12:40:51.097 669-724/? E/InputDispatcher: channel '424a9258 com.lifuz.yzy/com.lifuz.yzy.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!04-12 12:40:51.097 669-724/? E/InputDispatcher: channel '42ebed68 com.lifuz.yzy/com.lifuz.yzy.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!04-12 12:40:51.402 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/status to PROCESS_STATE failed(2), No such file or directory04-12 12:40:51.402 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/oom_score to PROCESS_OOM_SCORE failed(2), No such file or directory04-12 12:40:51.402 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/oom_adj to PROCESS_OOM_ADJ failed(2), No such file or directory04-12 12:40:51.402 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/cmdline to PROCESS_CMDLINE failed(2), No such file or directory04-12 12:40:51.402 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/environ to PROCESS_ENVIRONMENT failed(2), No such file or directory04-12 12:40:51.402 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/sched to PROCESS_SCHED failed(2), No such file or directory04-12 12:40:51.407 1687-1687/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/showmap failed(2), No such file or directory04-12 12:40:51.407 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/maps to PROCESS_MAPS failed(2), No such file or directory04-12 12:40:51.861 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/status to PROCESS_STATE failed(2), No such file or directory04-12 12:40:51.861 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/oom_score to PROCESS_OOM_SCORE failed(2), No such file or directory04-12 12:40:51.861 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/oom_adj to PROCESS_OOM_ADJ failed(2), No such file or directory04-12 12:40:51.861 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/cmdline to PROCESS_CMDLINE failed(2), No such file or directory04-12 12:40:51.861 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/environ to PROCESS_ENVIRONMENT failed(2), No such file or directory04-12 12:40:51.861 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/sched to PROCESS_SCHED failed(2), No such file or directory04-12 12:40:51.866 1709-1709/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/showmap failed(2), No such file or directory04-12 12:40:51.866 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/874/maps to PROCESS_MAPS failed(2), No such file or directory04-12 12:40:51.908 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/gpulog to SYS_GPU_INFO failed(2), No such file or directory04-12 12:40:52.160 1647-1716/com.lifuz.yzy E/tag: 104-12 12:40:52.378 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/gpulog to SYS_GPU_INFO failed(2), No such file or directory04-12 12:40:53.204 1752-1752/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/procrank failed(2), No such file or directory04-12 12:40:53.659 1759-1759/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/procrank failed(2), No such file or directory04-12 12:40:53.809 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /proc/slabinfo to SYS_SLAB_INFO failed(2), No such file or directory04-12 12:40:53.938 1685-1685/? E/AEE/DUMPSTATE: copy_file: Copy /sys/kernel/debug/wakeup_sources to SYS_KERNEL_WAKELOCKS failed(2), No such file or directory04-12 12:40:54.028 1771-1771/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/librank failed(2), No such file or directory04-12 12:40:54.209 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /proc/slabinfo to SYS_SLAB_INFO failed(2), No such file or directory04-12 12:40:54.265 1777-1777/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/proc_mem failed(2), No such file or directory04-12 12:40:54.284 1707-1707/? E/AEE/DUMPSTATE: copy_file: Copy /sys/kernel/debug/wakeup_sources to SYS_KERNEL_WAKELOCKS failed(2), No such file or directory04-12 12:40:54.465 1779-1779/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/librank failed(2), No such file or directory04-12 12:40:55.425 1794-1794/? E/AEE/DUMPSTATE: copy_process: execv /system/xbin/proc_mem failed(2), No such file or directory04-12 12:41:44.893 132-764/? E/DrmMtkUtil/DrmUtil: checkDcf: not dcf type, dcf version value [79]04-12 12:41:44.895 132-764/? E/DrmMtkUtil/DrmUtil: checkDcf: not dcf type, dcf version value [79]04-12 12:41:44.896 132-764/? E/DrmMtkUtil/DrmUtil: checkDcf: not dcf type, dcf version value [79]04-12 12:41:44.939 132-2364/? E/OMXCodec: @@ [OUT] def.nBufferSize = 3276804-12 12:41:44.939 132-2364/? E/OMXCodec: @@ [OUT] totalSize = 13158404-12 12:47:09.182 4741-4753/? E/ATCIJ: Couldn't find 'atci-serv-fw' socket after 16 times, continuing to retry silently
解决方案
加上armeabi-v7a,把armeabi里的so复制一份放进去看看
解决方案二:
如果你直接用的是环信demo源码直接引用,并且即时聊天其他模块都正常只有语音、视频聊天以及视频选择点击没有反应的话,很有可能是你的AndroidManifest.xml中相关的服务前缀包名你没有替换为你自己的包名,也就是替换com.hyphenate.chatuidemo这个包名,还有布局文件xml中的有些自定义控件的前缀包名你也要替换为你自己的包名,你不替换的话AS运行也不会报错提示的,所以你可以Find in path 全局搜索下"com.hyphenate.chatuidemo"然后替换下。