Home » Android » Android Studio is adding me android.permission.USE_CREDENTIALS on my manifest

Android Studio is adding me android.permission.USE_CREDENTIALS on my manifest

Posted by: admin June 15, 2020 Leave a comment

Questions:

When i compile my app for release, a new permission called USE_CREDENTIALS is being added to my manifest.

<uses-permission android:name="android.permission.USE_CREDENTIALS"/>

Why? What is this permission? i can’t find any official info about it on android developers guide!

Thanks

How to&Answers:

Why?

You are probably getting it via some library that you are using.

What is this permission?

It is used, prior to Android 6.0, for using things like AccountManager.

i can’t find any official info about it on android developers guide!

That is because Google got rid of this permission in Android 6.0, and the documentation at http://developer.android.com does a really poor job of dealing with removed API elements.