打包之后就会在华为手机上报错,点击运行按钮就不会

1272370336 2020-12-22 947

   java.lang.NoSuchMethodError: No static method create()Lorg/webrtc/EglBase; in class Lorg/webrtc/EglBase; or its super classes (declaration of 'org.webrtc.EglBase' appears in /data/app/com.wildfirechat.chat-lB-eMcMnD49Vzs2RJSq5iA==/base.apk!classes3.dex)        at cn.wildfirechat.avenginekit.PeerConnectionClient.(Unknown Source:20)        at cn.wildfirechat.avenginekit.AVEngineKit.b(Unknown Source:6)        at cn.wildfirechat.avenginekit.AVEngineKit.g(Unknown Source:0)        at cn.wildfirechat.avenginekit.AVEngineKit$CallSession.startPreview(Unknown Source:32)        at cn.wildfire.chat.kit.voip.SingleVideoFragment.init(SingleVideoFragment.java:358)        at cn.wildfire.chat.kit.voip.SingleVideoFragment.onCreateView(SingleVideoFragment.java:88)        at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2698)        at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:310)        at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1185)        at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1354)        at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1432)        at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1495)        at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:447)        at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2167)        at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1990)        at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1945)        at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1847)        at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2621)        at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:2569)        at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:247)        at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:541)        at cn.wildfire.chat.kit.voip.SingleCallActivity.onStart(SingleCallActivity.java:81)        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1447)        at android.app.Activity.performStart(Activity.java:8144)        at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3918)        at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:235)        at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:215)        at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:187)        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:105)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2458)        at android.os.Handler.dispatchMessage(Handler.java:110)        at android.os.Looper.loop(Looper.java:219)        at android.app.ActivityThread.main(ActivityThread.java:8375)        at java.lang.reflect.Method.invoke(Native Method)        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)

最新回复 (4)
  • eieaya1 2020-12-22
    引用 2
    打包没打对
  • 1272370336 2020-12-22
    引用 3
    eieaya1 打包没打对
    我现在用的是multidex,还有什么其他分包吗
  • x86 2020-12-22
    引用 4
    请参考这个issue:https://github.com/wildfirechat/android-chat/issues/378
  • 1272370336 2020-12-23
    引用 5
    x86 请参考这个issue:https://github.com/wildfirechat/android-chat/issues/378
    谢谢搞定了
返回