Unauthorized access to libmedia.so

Karol Gaida
Tue, 14 Mar 2017 14:50:09 +0000
Platform & Builds

When I run my game on Android I get a message

Detected problem with app native libraries (please consult log for detail):
libvrapiimpl.so: unauthorized access to "/system/lib/libmedia.so"

In my log I found:

W/linker(6352): library "/system/lib/libmedia.so" ("/system/lib/libmedia.so") needed or dlopened by "/data/app/com.oculus.systemdriver-1/lib/arm/libvrapiimpl.so" is not accessible for the namespace "classloader-namespace" - the access is temporarily granted as a workaround for http://b/26394120, note that the access will be removed in future releases of Android.

but this is only a warning. The problem occured when I upgraded my device to Android 7. Should I add some special permission to the Android manifest if I want to use libmedia.so?

Here I found the exact problem but according to this I need to rebuild UnrealBuildTool. Is there another way to solve this issue?

5 posts - 1 participant