|
【错误现象】:
初始化Anychat失败,初始化代码完全按照Demo示例做的,不要告诉我说.so文件没有放进去,附件有截图。
以下是初始化代码
if (anyChatSDK == null) {
anyChatSDK = new AnyChatCoreSDK();
anyChatSDK.SetBaseEvent(this);
anyChatSDK.InitSDK(android.os.Build.VERSION.SDK_INT, 0);
AnyChatCoreSDK.SetSDKOptionInt(
AnyChatDefine.BRAC_SO_LOCALVIDEO_AUTOROTATION, 1);
AnyChatCoreSDK.SetSDKOptionInt(
AnyChatDefine.BRAC_SO_STREAM_SMOOTHPLAYMODE, 1);
anyChatSDK.SetVideoCallEvent(this);
anyChatSDK.SetUserInfoEvent(this);
}
【错误日志】:
06-13 20:34:09.292: E/Trace(32122): error opening trace file: No such file or directory (2)
06-13 20:34:09.347: E/AndroidRuntime(32122): FATAL EXCEPTION: main
06-13 20:34:09.347: E/AndroidRuntime(32122): java.lang.ExceptionInInitializerError
06-13 20:34:09.347: E/AndroidRuntime(32122): at com.lion.smartcomm.BaseApplication.initSDK(BaseApplication.java:202)
06-13 20:34:09.347: E/AndroidRuntime(32122): at com.lion.smartcomm.BaseApplication.onCreate(BaseApplication.java:173)
06-13 20:34:09.347: E/AndroidRuntime(32122): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:999)
06-13 20:34:09.347: E/AndroidRuntime(32122): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4173)
06-13 20:34:09.347: E/AndroidRuntime(32122): at android.app.ActivityThread.access$1300(ActivityThread.java:134)
06-13 20:34:09.347: E/AndroidRuntime(32122): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1262)
06-13 20:34:09.347: E/AndroidRuntime(32122): at android.os.Handler.dispatchMessage(Handler.java:99)
06-13 20:34:09.347: E/AndroidRuntime(32122): at android.os.Looper.loop(Looper.java:137)
06-13 20:34:09.347: E/AndroidRuntime(32122): at android.app.ActivityThread.main(ActivityThread.java:4767)
06-13 20:34:09.347: E/AndroidRuntime(32122): at java.lang.reflect.Method.invokeNative(Native Method)
06-13 20:34:09.347: E/AndroidRuntime(32122): at java.lang.reflect.Method.invoke(Method.java:511)
06-13 20:34:09.347: E/AndroidRuntime(32122): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:800)
06-13 20:34:09.347: E/AndroidRuntime(32122): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:567)
06-13 20:34:09.347: E/AndroidRuntime(32122): at dalvik.system.NativeStart.main(Native Method)
06-13 20:34:09.347: E/AndroidRuntime(32122): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load audio_preprocessing: findLibrary returned null
06-13 20:34:09.347: E/AndroidRuntime(32122): at java.lang.Runtime.loadLibrary(Runtime.java:369)
06-13 20:34:09.347: E/AndroidRuntime(32122): at java.lang.System.loadLibrary(System.java:538)
06-13 20:34:09.347: E/AndroidRuntime(32122): at com.bairuitech.anychat.AnyChatCoreSDK.<clinit>(AnyChatCoreSDK.java:637)
06-13 20:34:09.347: E/AndroidRuntime(32122): ... 14 more
|
|