【问题标题】:I'm facing black screen after making call with agora sdk in my flutter app在我的颤振应用程序中使用 agora sdk 拨打电话后,我面临黑屏
【发布时间】:2021-06-27 05:35:40
【问题描述】:

注意:我正在使用 CreateWithConfig 方法,因为 RtcEngine.create 已被弃用。

E/MethodChannel#agora_rtc_engine(21216): 处理方法调用失败 E/MethodChannel#agora_rtc_engine(21216): java.lang.RuntimeException: 需要检查 rtc sdk init 致命错误 E/MethodChannel#agora_rtc_engine(21216): E/MethodChannel#agora_rtc_engine(21216): 在 io.agora.agorartcengine.AgoraRtcEnginePlugin.onMethodCall(AgoraRtcEnginePlugin.java:113) E/MethodChannel#agora_rtc_engine(21216):在 io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233) E/MethodChannel#agora_rtc_engine(21216):在 io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#agora_rtc_engine(21216):在 io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818) E/MethodChannel#agora_rtc_engine(21216): 在 android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#agora_rtc_engine(21216): 在 android.os.MessageQueue.next(MessageQueue.java:325) E/MethodChannel#agora_rtc_engine(21216): 在 android.os.Looper.loop(Looper.java:142) E/MethodChannel#agora_rtc_engine(21216): 在 android.app.ActivityThread.main(ActivityThread.java:7000) E/MethodChannel#agora_rtc_engine(21216): 在 java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#agora_rtc_engine(21216):在 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441) E/MethodChannel#agora_rtc_engine(21216): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)强调文字

【问题讨论】:

    标签: flutter call agora.io


    【解决方案1】:

    此错误主要是因为您使用了无效的 App Id 或格式错误。您可以尝试生成另一个 App Id,然后进行测试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-31
      • 2021-03-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多