开发者社区> 问答> 正文

集成趣视频,打开录像界面时无法找到libgxx_personality.so

按照文档将需要的模块复制进工程中,视频播放器集成正常,但打开录像界面时,出现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中也并没有账号相关配置。

请问出现这个问题的原因是什么,怎么处理?

展开
收起
tsingthu 2020-08-03 16:07:10 1222 0
1 条回答
写回答
取消 提交回答
  • implementation 'com.alivc.conan:AlivcConan:1.0.2’ 引入下

    2020-08-25 20:28:39
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
阿里邮箱—安全高效集成 立即下载
集成智能接入网关APP:优化企业级移动办公网络 立即下载
云效助力企业集成安全到DevOps中 立即下载