dlopen failed: library “/system/lib64/libhwuibp.so” not found : Honor 4C 64-bit octa-core CPU

荒凉一梦 提交于 2019-12-22 06:56:35

问题


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 add android.useDeprecatedNdk=true. Then edit the build.gradle file in your app's folder, set abiFilters 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!