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

java.lang.UnsatisfiedLinkError: dlopen failed: library "libVanUart.so" not found #3

Open
merlin720 opened this issue Apr 7, 2024 · 3 comments

Comments

@merlin720
Copy link

找不到so文件,加进去了,
defaultConfig { ndk { //设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so) abiFilters "armeabi", "arm64-v8a", "armeabi-v7a", "x86","arm64-v8a","x86_64" } } sourceSets { main { jniLibs.srcDirs = ['src/main/jniLibs','libs'] }
这些也加上了 请问怎么回事?

@flyweights
Copy link

请问为什么会出现这个问题的,应该如何解决呢?

@merlin720
Copy link
Author

去掉一个多余的 arm64那个好像可以了

@flyweights
Copy link

冒昧地请问一下,”去掉一个多余的 arm64那个好像可以了“,这是在 android studio 里面吗,还是在哪个配置文件里面,因为是刚刚学安卓,好多地方都不是很懂,谢谢了

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

2 participants