POST
Some tips for android development errors
Today I met an error when I was trying to customize the android.widget.Button Class.😕
The error information is
The temporary solution that I used is as below.
Besides, I had met
when running the application. That’s because the application used the HIDL interface which should register at the vintf/manifest.xml but hasn’t been done. This feature is introduced at Android O. Obviously, the solution is registering all of the HIDL interfaces that will be used at manifest.xml.
Another issue is
which is related to selinux, the selinux policy is missing that cause the permission is rejected. Need to add the permission to selinux.