在安卓真机测试时,发现有一句这么提示:Library “libmaliinstr.so” not found,但是并没有引起软件崩溃什么的,百度了一下,发现这个是因为手机机型的问题,有的是会崩溃的,所以记录一下。
报错如下图:
搜索了一下,最详细的解答是在这个里面:http://stackoverflow.com/questions/25589959/library-libmaliinstr-so-not-found
反馈的都是在中国的机型中,内容就是因为机型的cpu的问题。解决办法:换手机吧
英文原文:
Scala is irrelevant.
I had also meet this problem before. It's a hardware problem with CPU. Found in some of Chinese phones. Huawei and xiaomi are known brands which devices may have this problem.
Load this library error occurs when application can't find a correct platform *.so.
From name libmaliinstr, I assume it related to Mali instrument. Mali is a low-level hardware driver, supporting enhanced OpenGL/GLES especially for browser rendering.
I reproduce it on CPU MT6582 (Hongmi 1S), which means this device missing a system lib libmaliinstr.so. So app can't use openglperf as usual.
Current solution:
Skip this device and ignore the error. (we may not have permission to modify a system library)
版权属于:东哥笔记 - DongGe.org
本文链接:https://dongge.org/blog/214.html
自2017年12月26日起,『转载以及大段采集进行后续编辑』须注明本文标题和链接!否则禁止所有转载和采集行为!