Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好 我这面遇到了一个问题 找不到.so #29

Closed
wangyikai1234567 opened this issue Apr 11, 2019 · 14 comments
Closed

你好 我这面遇到了一个问题 找不到.so #29

wangyikai1234567 opened this issue Apr 11, 2019 · 14 comments

Comments

@wangyikai1234567
Copy link

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/cn.wdcloud.luke.courseedit-2/base.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_dependencies_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_0_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_1_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_2_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_3_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_4_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_5_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_6_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_7_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_8_apk.apk", zip file "/data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/user/0/cn.wdcloud.luke.courseedit/files/so, /data/app/cn.wdcloud.luke.courseedit-2/lib/arm64, /data/app/cn.wdcloud.luke.courseedit-2/base.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/cn.wdcloud.luke.courseedit-2/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libffmpeg-core.so"
@microshow
Copy link
Owner

是通过下载代码的方式依赖,还是通过gradler依赖的方式?

@microshow
Copy link
Owner

目前只提供了v7a平台的so库的

@wangyikai1234567
Copy link
Author

额额 你好 我这面是通过下载引入的module

@wangyikai1234567
Copy link
Author

那现在还有处理的办法么?

@microshow
Copy link
Owner

您的项目里应该有arm64-v8a文件夹,rxffmpeg目前只提供了v7a平台库,您可以把您项目里的arm64-v8a目录移除试试?包括很多大型app也是只保留v7a平台的so即可

@wangyikai1234567
Copy link
Author

好的 谢谢 我先试试

@sceneren
Copy link

通过依赖的方式 还是报这个错

@microshow
Copy link
Owner

@renjunjia3 你项目里面是不是也有arm64-v8a文件夹呢

@microshow
Copy link
Owner

@wangyikai1234567 你的问题解决了吗

@sceneren
Copy link

defaultConfig {
    .
    .
    .
    ndk {
        abiFilters "armeabi-v7a"
    }
}

这样就行了

@microshow
Copy link
Owner

嗯嗯,因为rxffmpeg目前只提供了v7平台的so,只要吧其它平台的目录删掉即可,包括现在很多大型app也是只保留v7a这个平台的

@microshow
Copy link
Owner

新建了QQ群:799934185
欢迎加群

@tianshaokai
Copy link

目前安卓要求适配64位,作者近期会提供吗?

@microshow
Copy link
Owner

已提供64位,欢迎更新2.0.0版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants