问题
Whenever I try to open camera/gallery through intent, I am getting this error in my Honor 4C mobile, Android version 6.0 with 64-bit octa-core CPU.
load: so=/system/lib64/libhwuibp.so
dlopen failed: library "/system/lib64/libhwuibp.so" not found
Basically I am trying to crop an image with help of OpenCV-2.4.13.1-android-sdk so file. But this error seems to be device related as in other mobiles the app is working totally fine, could anyone help me in this?
回答1:
Have you tried this solution?
Hi, I searched on the net these days and finally found the solution! If you are using Android studio, just edit the
gradle.properties
in the root folder and addandroid.useDeprecatedNdk=true
. Then edit thebuild.gradle
file in your app's folder, setabiFilters
as below:
android {
....
defaultConfig {
....
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
}
}
source: https://github.com/yixia/VitamioBundle/issues/305
来源:https://stackoverflow.com/questions/39833605/dlopen-failed-library-system-lib64-libhwuibp-so-not-found-honor-4c-64-bit