I want to use UserManager in my code. But for that it requires the permission MANAGE_USERS
I tried adding it in the manifest but there is no permission listing in manifest called MANAGE_USERS.
Then I tried adding this line
<uses-permission android:name="android.permission.MANAGE_USERS" />
but still it gives error while running , says
java.lang.SecurityException: You need MANAGE_USERS permission to: query user
My minSdk version is 14. How can I add this permission? Thanks in advance..
You need to sign your app with platform signature to use this permission. This maybe helpful for you.
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