新的demo一直闪退

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/io.agora.tutorials1v1vcall-8Mk-OX0aL2_fLSaBfC4fsA==/base.apk”],nativeLibraryDirectories=[/data/app/io.agora.tutorials1v1vcall-8Mk-OX0aL2_fLSaBfC4fsA==/lib/arm64, /system/lib64, /system/product/lib64]]] couldn’t find “libagora-rtc-sdk-jni.so”
at java.lang.Runtime.loadLibrary0(Runtime.java:1067)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1667)
at io.agora.rtc.internal.RtcEngineImpl.loadNativeLibrary(RtcEngineImpl.java:146)
at io.agora.rtc.internal.RtcEngineImpl.initializeNativeLibs(RtcEngineImpl.java:152)
at io.agora.rtc.RtcEngine.create(RtcEngine.java:62)
at io.agora.tutorials1v1vcall.VideoChatViewActivity.initializeEngine(VideoChatViewActivity.java:214)
at io.agora.tutorials1v1vcall.VideoChatViewActivity.initEngineAndJoinChannel(VideoChatViewActivity.java:206)
at io.agora.tutorials1v1vcall.VideoChatViewActivity.onRequestPermission

应该是你没有正确导入 libagora-rtc-sdk-jni.so 库文件。建议参考对应平台的 快速开始 文档,进行编译运行。

感谢感谢

不客气哈