Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
308 views
in Technique[技术] by (71.8m points)

android - Library "libmaliinstr.so" not found

I have an Android app written in Scala. When I launch it the following error message appears in the log window:

08-31 13:11:10.781    5398-5398/my.app.app123 E/linker﹕ load_library(linker.cpp:759): library "libmaliinstr.so" not found
08-31 13:11:10.784    5398-5398/my.app.app123 E/﹕ appName=my.app.app123, acAppName=com.android.cts.openglperf
08-31 13:11:10.784    5398-5398/my.app.app123 E/﹕ 0
08-31 13:11:10.784    5398-5398/my.app.app123 E/﹕ appName=my.app.app123, acAppName=com.android.browser
08-31 13:11:10.784    5398-5398/my.app.app123 E/﹕ 0

What does it mean and how to solve it?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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 Wiki. 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)

Addition:

You can disable hardware accelerate in these devices for sure.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...