Android SELinux Errors In Logcat
Solution 1:
I had the same problem with Titanium Appcelerator and I realized I had 2 debug sessions running. So, in eclipse I had to close them by clicking the "Remove Launch button" at the bottom and start a new one fresh. Also make sure the app is closed on your device before you launch.
Solution 2:
These messages are likely from the selinux Zygote modifications and are harmless.
When the Zygote forks and specializes to run your apk it transitions all applications into various SELinux domains before giving your application control. The version error is about a missing version file and will not result in any fatal errors. The load message isn't really an error but informational. IIRC the last message never existed and likely added by an OEM or was removed at some point.
The libselinux code that contains this functionality is here:
https://android.googlesource.com/platform/external/libselinux/+/master/src/android.c
A book called Exploring SE for Android covers these internals in great detail (authored by me). https://www.packtpub.com/networking-and-servers/exploring-se-android
Post a Comment for "Android SELinux Errors In Logcat"