升级到2.9.2后报错

你好,我这边升级到2_9_2后,初始化RtcEngine运行报这个错误
mRtcEngine = RtcEngine.create(mContext, appId, mEngineEventHandler.mRtcEventHandler);

Failed to register native method io.agora.rtc.internal.RtcEngineImpl.nativeNotifyNetworkChange(J[B)I in base.apk!classes19.dex 2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.NoSuchMethodError: no static or non-static method “Lio/agora/rtc/internal/RtcEngineImpl;.nativeNotifyNetworkChange(J[B)I” 2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:-2)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at void java.lang.Runtime.loadLibrary0(java.lang.ClassLoader, java.lang.String) (Runtime.java:1014)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at void java.lang.System.loadLibrary(java.lang.String) (System.java:1669)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at void io.agora.rtc.internal.RtcEngineImpl.loadNativeLibrary() (RtcEngineImpl.java:141)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at boolean io.agora.rtc.internal.RtcEngineImpl.initializeNativeLibs() (RtcEngineImpl.java:147)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at io.agora.rtc.RtcEngine io.agora.rtc.RtcEngine.create(android.content.Context, java.lang.String, io.agora.rtc.IRtcEngineEventHandler) (RtcEngine.java:59)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at io.agora.rtc.RtcEngine io.agora.openlive.model.WorkerThread.ensureRtcEngineReadyLock() (WorkerThread.java:250)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542] at void io.agora.openlive.model.WorkerThread.run() (WorkerThread.java:101)
2020-02-07 19:30:33.742 23773-25290/com.kloudsync.techexcel A/dsync.techexce: java_vm_ext.cc:542]

麻烦看一下是什么原因,谢谢

请确认:
1、jar 包和 so 包都正确进行了替换,并且版本一致:
https://docs.agora.io/cn/Video/start_call_android?platform=Android#集成-sdk

2、参考发版说明,确保项目中的 api 调用符合 2.9.2 版本的 API 定义:
https://docs.agora.io/cn/Video/release_android_video?platform=Android

或者可以试下 clean 项目后重新 build。