Android SDK 最新的互动直播 1.5 SDK 邀请别人的时候奔溃?

  • 回答 (2)
  • 关注 (0)
  • 查看 (158)

Android SDK AVInvitation mAVInvitation; mAVInvitation.setDelegate(mAVInvitationDelegate); mAVInvitation.init(); 执行到这句代码的时候 提示 java.lang.UnsatisfiedLinkError: Native method not found: com.tencent.av.sdk.AVInvitation.init)V看看是怎么回事 。 互动直播 和音频通讯云 是不是整合了

758141116758141116提问于
1242028000回答于

确实会有这样的问题,crash堆栈信息如下:

12-29 150941.908 23909-23909/com.tencent.avsdk E/AndroidRuntime: FATAL EXCEPTION: main

               Process: com.tencent.avsdk, PID: 23909
               java.lang.UnsatisfiedLinkError: Native method not found: com.tencent.av.sdk.AVInvitation.init )V
                at com.tencent.av.sdk.AVInvitation.init(Native Method)
                at com.tencent.avsdk.control.AVInvitationControl.initAVInvitation(AVInvitationControl.java:121)
                at com.tencent.avsdk.control.QavsdkControl.initAVInvitation(QavsdkControl.java:380)
                at com.tencent.avsdk.control.AVContextControl$1.OnComplete(AVContextControl.java:49)
                at com.tencent.av.sdk.IMChannel.initCallback(Native Method)
                at com.tencent.av.sdk.IMChannel.init(IMChannel.java:65)
                at com.tencent.av.sdk.AVUILoopProxy.processTask(Native Method)
                at com.tencent.av.sdk.AVUILoopProxy$1.run(AVUILoopProxy.java:21)
                at android.os.Handler.handleCallback(Handler.java:733)
                at android.os.Handler.dispatchMessage(Handler.java:95)
                at android.os.Looper.loop(Looper.java:157)
                at android.app.ActivityThread.main(ActivityThread.java:5293)
                at java.lang.reflect.Method.invokeNative(Native Method)
                at java.lang.reflect.Method.invoke(Method.java:515)
                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
                at dalvik.system.NativeStart.main(Native Method)
奇奇回答于

1.4版本是否正常呢,是不是升级到1.5版本出现的问题

扫码关注云+社区

领取腾讯云代金券