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文件缺失 #151

Open
Brookeryang opened this issue May 18, 2020 · 3 comments
Open

so文件缺失 #151

Brookeryang opened this issue May 18, 2020 · 3 comments

Comments

@Brookeryang
Copy link

couldn't find "libijkffmpeg.so”

@anskya520
Copy link

怎么解决的?

@anskya520
Copy link

splits {
    abi {
        enable true
        reset()
        include 'x86', 'x86_64', 'armeabi-v7a', 'armeabi'
        universalApk false
    }
}

@3154365988
Copy link

你是直接在Android Studio上Run的吧?试试build成apk,然后通过adb install安装。

上面有个用分包技术的回答,其实不合理,但是可用。原因如下:
你的设备应该是被Android Studio识别到是某个cpu架构,但是这个在三方依赖支持的cpu架构中不存在这个架构,于是Android Studio直接run时,打出的包,就不包含对应的lib,自然不存在so,发生crash。
但是build打包后,就会把三方依赖支持的cpu架构的lib都打包。这样你的设备cpu架构哪怕不在这些里面,也会因为兼容,选一个lib使用。

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

3 participants