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

More than one file was found with OS i #32

Closed
ltyhome opened this issue Aug 20, 2019 · 1 comment
Closed

More than one file was found with OS i #32

ltyhome opened this issue Aug 20, 2019 · 1 comment

Comments

@ltyhome
Copy link

ltyhome commented Aug 20, 2019

编译不通过
More than one file was found with OS independent path 'lib/arm64-v8a/libc++_shared.so'
More than one file was found with OS independent path 'lib/armeabi-v7a/libc++_shared.so'
packagingOptions这两个之后MMKV出错,couldn't find "libc++_shared.so"

@denny-feng
Copy link
Collaborator

packagingOptions {
    pickFirst '**/libc++_shared.so'
}

出现这个问题的原因是,您的工程里可能使用了多个SDK,至少有两个SDK分别带了libc++_shared.so这个stl库文件,请按照上面这种方式配置一下您的gradle文件,可以解决问题

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