dlopen失败:库"/system/lib64/libhwuibp.so";找不到:Honor 4C 64位八核CPU [英] dlopen failed: library "/system/lib64/libhwuibp.so" not found : Honor 4C 64-bit octa-core CPU

查看:1501
本文介绍了dlopen失败:库"/system/lib64/libhwuibp.so";找不到:Honor 4C 64位八核CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我试图通过意图打开相机/图库时,我在配备64位八核CPU的Honor 4C mobile(Android 6.0版)中遇到此错误.

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

load: so=/system/lib64/libhwuibp.so

dlopen失败:找不到库"/system/lib64/libhwuibp.so"

dlopen failed: library "/system/lib64/libhwuibp.so" not found

基本上,我试图在OpenCV-2.4.13.1-android-sdk so文件的帮助下裁剪图像.但是此错误似乎与设备有关,因为在其他手机中,该应用程序运行正常,有人可以帮我吗?

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?

推荐答案

您是否尝试过此解决方案?

Have you tried this solution?

我最近在网上搜索,终于找到了解决方案! 如果您使用的是Android Studio,只需在 根文件夹并添加android.useDeprecatedNdk=true.然后编辑 在应用程序文件夹中的build.gradle文件中,将abiFilters设置如下:

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"
        }
    }
}

来源: https://github.com/yixia/VitamioBundle/issues/305

这篇关于dlopen失败:库"/system/lib64/libhwuibp.so";找不到:Honor 4C 64位八核CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆