You need the permission android.permission.READ_EXTERNAL_STORAGE. Write on the Android Manifest


Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()


MANAGE_USERS has a protection level of signature|system, so your application must be signed with the platform key. Take a look on this for more information about it.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done( at java.util.concurrent.FutureTask.finishCompletion( at java.util.concurrent.FutureTask.setException( at at android.os.AsyncTask$SerialExecutor$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: java.lang.SecurityException: Permission Denial: opening provider from ProcessRecord{686bad2} (pid=2682, uid=10027) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS at android.os.Parcel.readException( at android.os.Parcel.readException( at at at$ApplicationContentResolver.acquireUnstableProvider( at android.content.ContentResolver.acquireUnstableProvider( at android.content.ContentResolver.query( at android.content.ContentResolver.query( at at$1.doInBackground( at$1.doInBackground( at android.os.AsyncTask$ at ... 4 more

Users with the same issue

3 times, last one,
Unknown visitor1 times, last one,
12 times, last one,
3 times, last one,
Indri Yunita
8 times, last one,
231 more bugmates