问题描述
04-11 19:26:14.805: E/SMACK-Voe(14608): enter JNI_OnLoad04-11 19:26:14.805: E/SMACK-Voe(14608): TORNADO007 WEBRTC_EASEMOB not DEFINED04-11 19:26:14.805: E/art(14608): ----- class 'Lcom/hyphenate/media/AVNative;' cl=0x12c92cc0 -----04-11 19:26:14.805: E/art(14608): objectSize=588 (412 from super)04-11 19:26:14.805: E/art(14608): access=0x0000.000104-11 19:26:14.805: E/art(14608): super='java.lang.Class<java.lang.Object>' (cl=0x0)04-11 19:26:14.805: E/art(14608): vtable (43 entries, 11 in super):04-11 19:26:14.805: E/art(14608): 0: int com.hyphenate.media.AVNative.GetAudioInputLevel(java.lang.String)04-11 19:26:14.805: E/art(14608): 1: int com.hyphenate.media.AVNative.GetAudioOutputLevel(java.lang.String)04-11 19:26:14.805: E/art(14608): 2: int com.hyphenate.media.AVNative.nativeAVStartRecord(java.lang.String)04-11 19:26:14.805: E/art(14608): 3: java.lang.String com.hyphenate.media.AVNative.nativeAVStopRecord()04-11 19:26:14.805: E/art(14608): 4: int com.hyphenate.media.AVNative.nativeGetLocalBitrate()04-11 19:26:14.805: E/art(14608): 5: int com.hyphenate.media.AVNative.nativeGetRemoteBitrate()04-11 19:26:14.805: E/art(14608): 6: int com.hyphenate.media.AVNative.nativeGetVideoFramerate()04-11 19:26:14.805: E/art(14608): 7: int com.hyphenate.media.AVNative.nativeGetVideoHeight()04-11 19:26:14.805: E/art(14608): 8: int com.hyphenate.media.AVNative.nativeGetVideoLostcnt()04-11 19:26:14.805: E/art(14608): 9: int com.hyphenate.media.AVNative.nativeGetVideoTimedelay()04-11 19:26:14.805: E/art(14608): 10: int com.hyphenate.media.AVNative.nativeGetVideoWidth()04-11 19:26:14.805: E/art(14608): 11: void com.hyphenate.media.AVNative.nativeInit(com.hyphenate.media.EMVideoCallBridge)04-11 19:26:14.805: E/art(14608): 12: void com.hyphenate.media.AVNative.nativePause()04-11 19:26:14.805: E/art(14608): 13: int com.hyphenate.media.AVNative.nativeProcessPcm(byte[], int, java.lang.String)04-11 19:26:14.805: E/art(14608): 14: int com.hyphenate.media.AVNative.nativeProcessYUV(int, int, byte[])04-11 19:26:14.805: E/art(14608): 15: void com.hyphenate.media.AVNative.nativeQuit()04-11 19:26:14.805: E/art(14608): 16: void com.hyphenate.media.AVNative.nativeResume()04-11 19:26:14.805: E/art(14608): 17: int com.hyphenate.media.AVNative.nativeSetRenderFlag(boolean)04-11 19:26:14.805: E/art(14608): 18: int com.hyphenate.media.AVNative.nativeSetVideoEncodeFlag(boolean)04-11 19:26:14.805: E/art(14608): 19: int com.hyphenate.media.AVNative.nativeStartVideo(com.hyphenate.media.IGxStatusCallback, int, int, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, int, int, boolean, boolean)04-11 19:26:14.805: E/art(14608): 20: void com.hyphenate.media.AVNative.nativeStopVideo()04-11 19:26:14.805: E/art(14608): 21: int com.hyphenate.media.AVNative.nativeTakePicture(java.lang.String)04-11 19:26:14.805: E/art(14608): 22: int com.hyphenate.media.AVNative.nativeVoeClient_FullDuplexSpeech(java.lang.String)04-11 19:26:14.805: E/art(14608): 23: int com.hyphenate.media.AVNative.nativeVoeClient_GetAudioLevel(java.lang.String)04-11 19:26:14.805: E/art(14608): 24: int com.hyphenate.media.AVNative.nativeVoeClient_GetAudioOutputLevel(java.lang.String)04-11 19:26:14.805: E/art(14608): 25: int com.hyphenate.media.AVNative.nativeVoeClient_GetLocalBitrate(java.lang.String)04-11 19:26:14.805: E/art(14608): 26: int com.hyphenate.media.AVNative.nativeVoeClient_GetLostcnt(java.lang.String)04-11 19:26:14.805: E/art(14608): 27: int com.hyphenate.media.AVNative.nativeVoeClient_GetRemoteBitrate(java.lang.String)04-11 19:26:14.805: E/art(14608): 28: int com.hyphenate.media.AVNative.nativeVoeClient_GetTimeDelay(java.lang.String)04-11 19:26:14.805: E/art(14608): 29: int com.hyphenate.media.AVNative.nativeVoeClient_Register(com.hyphenate.media.IGxStatusCallback, android.content.Context, int, java.lang.String, int, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, boolean, int)04-11 19:26:14.805: E/art(14608): 30: int com.hyphenate.media.AVNative.nativeVoeClient_Release(java.lang.String)04-11 19:26:14.805: E/art(14608): 31: int com.hyphenate.media.AVNative.nativeVoeClient_StartRecodeMic(com.hyphenate.media.IGxStatusCallback, android.content.Context, java.lang.String, java.lang.String)04-11 19:26:14.805: E/art(14608): 32: int com.hyphenate.media.AVNative.nativeVoeClient_Stop(java.lang.String)04-11 19:26:14.805: E/art(14608): 33: int com.hyphenate.media.AVNative.nativeVoeClient_StopRecodeMic(java.lang.String)04-11 19:26:14.805: E/art(14608): 34: void com.hyphenate.media.AVNative.onNativeAccel(float, float, float)04-11 19:26:14.805: E/art(14608): 35: void com.hyphenate.media.AVNative.onNativeKeyDown(int)04-11 19:26:14.805: E/art(14608): 36: void com.hyphenate.media.AVNative.onNativeKeyUp(int)04-11 19:26:14.805: E/art(14608): 37: void com.hyphenate.media.AVNative.onNativeResize(int, int, int)04-11 19:26:14.805: E/art(14608): 38: void com.hyphenate.media.AVNative.onNativeTouch(int, int, int, float, float, float)04-11 19:26:14.805: E/art(14608): 39: int com.hyphenate.media.AVNative.register(com.hyphenate.media.IGxStatusCallback, android.content.Context, int, java.lang.String, int, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, boolean, int)04-11 19:26:14.805: E/art(14608): 40: int com.hyphenate.media.AVNative.setFullDuplexSpeech(java.lang.String)04-11 19:26:14.805: E/art(14608): 41: int com.hyphenate.media.AVNative.stop(java.lang.String)04-11 19:26:14.805: E/art(14608): 42: int com.hyphenate.media.AVNative.unregister(java.lang.String)04-11 19:26:14.805: E/art(14608): direct methods (2 entries):04-11 19:26:14.805: E/art(14608): 0: void com.hyphenate.media.AVNative.<clinit>()04-11 19:26:14.805: E/art(14608): 1: void com.hyphenate.media.AVNative.<init>()04-11 19:26:14.805: E/art(14608): static fields (1 entries):04-11 19:26:14.805: E/art(14608): 0: java.lang.String com.hyphenate.media.AVNative.TAG04-11 19:26:14.805: E/art(14608): Failed to register native method com.hyphenate.media.AVNative.nativeVoeClient_NetworkDisconnected(Ljava/lang/String;)Z in /data/app/com.hsd.fsxasm-2/base.apk04-11 19:26:14.805: E/SMACK-Voe(14608): ERROR: MediaPlayer native registration failed04-11 19:26:14.805: D/AndroidRuntime(14608): Shutting down VM04-11 19:26:14.805: E/AndroidRuntime(14608): FATAL EXCEPTION: main04-11 19:26:14.805: E/AndroidRuntime(14608): Process: com.hsd.fsxasm, PID: 1460804-11 19:26:14.805: E/AndroidRuntime(14608): java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.hsd.fsxasm-2/lib/arm64/libhyphenate_av.so"04-11 19:26:14.805: E/AndroidRuntime(14608): at java.lang.Runtime.loadLibrary(Runtime.java:372)04-11 19:26:14.805: E/AndroidRuntime(14608): at java.lang.System.loadLibrary(System.java:989)04-11 19:26:14.805: E/AndroidRuntime(14608): at com.hyphenate.chat.EMClient.loadLibrary(Unknown Source)04-11 19:26:14.805: E/AndroidRuntime(14608): at com.hyphenate.chat.EMClient.getInstance(Unknown Source)04-11 19:26:14.805: E/AndroidRuntime(14608): at com.hyphenate.easeui.controller.EaseUI.init(EaseUI.java:114)04-11 19:26:14.805: E/AndroidRuntime(14608): at com.hsd.fsxasm.dao.DemoHelper.init(DemoHelper.java:152)04-11 19:26:14.805: E/AndroidRuntime(14608): at com.hsd.fsxasm.MainActivity.onCreate(MainActivity.java:106)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.app.Activity.performCreate(Activity.java:6024)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2314)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2423)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.app.ActivityThread.access$900(ActivityThread.java:155)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1328)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.os.Handler.dispatchMessage(Handler.java:102)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.os.Looper.loop(Looper.java:135)04-11 19:26:14.805: E/AndroidRuntime(14608): at android.app.ActivityThread.main(ActivityThread.java:5305)04-11 19:26:14.805: E/AndroidRuntime(14608): at java.lang.reflect.Method.invoke(Native Method)04-11 19:26:14.805: E/AndroidRuntime(14608): at java.lang.reflect.Method.invoke(Method.java:372)04-11 19:26:14.805: E/AndroidRuntime(14608): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:922)04-11 19:26:14.805: E/AndroidRuntime(14608): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:717)根本不知道什么情况 郁闷
解决方案
直接用最新的 版本的3.0的demo测试下,看看有没有这个问题了呢。