I am debugging my app using a physical phone via usb, and I'm getting the following notification in logcat:
I/vndksupport: sphal namespace is not configured for this process. Loading /system/lib/hw/gralloc.ranchu.so from the current namespace instead.
Samsung Galaxy S7 running Android Marshmallow.
The only Permission I'm using is ACCESS_WIFI_STATE
Searching for sphal
does not help as there are not any google results. Same for gralloc.ranch.so
The answers here are misleading: It is unclear what your app is your and what your device is (e.g. custom ROM, or not, I'll assume Samsung stock ROM and device), but the reason for your error is that you are most probably using native API which from using some (or according to the vndk error from Oreo, including master build between the two) that has been restricted by the new linker. I do see you mentioned Marshmallow, but root cause is the same.
Your app should use different API sets.
I am experimenting the same problem, but on Android things. Solved by the following steps:
Previous the error like
"vndksupport: sphal namespace is not configured for this process"
Now after reboot it don't have this problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With