按照文档将需要的模块复制进工程中,视频播放器集成正常,但打开录像界面时,出现UnsatisfiedLinkError错误:
AliyunLog: Load .so failed!
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.tsingthu.imooc_business-EPsi8nNx-sV6YAxtjnHD-A==/base.apk"],nativeLibraryDirectories=[/data/app/com.tsingthu.imooc_business-EPsi8nNx-sV6YAxtjnHD-A==/lib/arm64, /data/app/com.tsingthu.imooc_business-EPsi8nNx-sV6YAxtjnHD-A==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64, /hw_product/lib64, /system/product/lib64]]] couldn't find "libgxx_personality.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1067)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1668)
at com.aliyun.sys.AbstractNativeLoader.loadLocalLibrary(Unknown Source:46)
at com.aliyun.sys.AbstractNativeLoader.loadLibrary(Unknown Source:2)
at com.aliyun.sys.AbstractNativeLoader.<clinit>(Unknown Source:0)
at com.aliyun.recorder.AliyunRecorderCreator.getRecorderInstance(Unknown Source:0)
at com.aliyun.svideo.recorder.mixrecorder.AlivcRecorder.initRecorder(AlivcRecorder.java:51)
at com.aliyun.svideo.recorder.mixrecorder.AlivcRecorder.<init>(AlivcRecorder.java:43)
at com.aliyun.svideo.recorder.mixrecorder.AlivcRecorderFactory.createAlivcRecorderFactory(AlivcRecorderFactory.java:9)
at com.aliyun.svideo.recorder.activity.AlivcSvideoRecordActivity.initRecord(AlivcSvideoRecordActivity.java:139)
at com.aliyun.svideo.recorder.activity.AlivcSvideoRecordActivity.onCreate(AlivcSvideoRecordActivity.java:120)
我尝试将demo中build下的so文件复制到工程中,错误转变成:
AliyunLog: Load .so failed!
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Z18getGlobalCurlMutexv" referenced by "/data/app/com.tsingthu.imooc_business-c5Qv3J_61zuS4uEXQfpjbg==/lib/arm64/libQuCore.so"...
at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1668)
at com.aliyun.sys.AbstractNativeLoader.loadLocalLibrary(Unknown Source:46)
at com.aliyun.sys.AbstractNativeLoader.loadLibrary(Unknown Source:27)
at com.aliyun.sys.AbstractNativeLoader.<clinit>(Unknown Source:0)
at com.aliyun.recorder.AliyunRecorderCreator.getRecorderInstance(Unknown Source:0)
at com.aliyun.svideo.recorder.mixrecorder.AlivcRecorder.initRecorder(AlivcRecorder.java:51)
at com.aliyun.svideo.recorder.mixrecorder.AlivcRecorder.<init>(AlivcRecorder.java:43)
at com.aliyun.svideo.recorder.mixrecorder.AlivcRecorderFactory.createAlivcRecorderFactory(AlivcRecorderFactory.java:9)
at com.aliyun.svideo.recorder.activity.AlivcSvideoRecordActivity.initRecord(AlivcSvideoRecordActivity.java:139)
at com.aliyun.svideo.recorder.activity.AlivcSvideoRecordActivity.onCreate(AlivcSvideoRecordActivity.java:120)
怀疑是因为账号原因导致的,但是在客户端SDK中也并没有账号相关配置。
请问出现这个问题的原因是什么,怎么处理?
implementation 'com.alivc.conan:AlivcConan:1.0.2’ 引入下
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。