集成android端 chatroom的demo .so报错,找不到对应的so库文件

E/RtcEngine: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk”],nativeLibraryDirectories=[/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/lib/arm64, /data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]] couldn’t find “libagora_clear_vision_extension.so”

E/RtcEngine: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk”],nativeLibraryDirectories=[/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/lib/arm64, /data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]] couldn’t find “libagora_segmentation_extension.so”

E/RtcEngine: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk”],nativeLibraryDirectories=[/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/lib/arm64, /data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]] couldn’t find “libagora_screen_capture_extension.so”

E/RtcEngine: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk”],nativeLibraryDirectories=[/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/lib/arm64, /data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]] couldn’t find “libagora_content_inspect_extension.so”

E/RtcEngine: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk”],nativeLibraryDirectories=[/data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/lib/arm64, /data/app/io.agora.chatroom-WLAGA2VPrwY8E3wxZWuOKA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]] couldn’t find “libagora_super_resolution_extension.so”

运行ChatRoom的demo时报错,缺少几个so包,下载的sdk里也没有这几个so包
image

2个回答
succpeking 回复于 2022-09-06 06:17:48

问题定位:

这些 so 是视频包里才有的

解决办法

用视频Full包 https://download.agora.io/sdk/release/Agora_Native_SDK_for_Android_v4.0.0-rc.1_FULL.zip

回复·0
user50 回复于 2022-09-06 06:54:22


so包好了,但是进入房间后会报这个错

回复·1

设备不兼容openSL,需要手动把opensl关掉。

mRtcEngine.setParameters("{\"che.audio.opensl\":false}")