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.

  • Fatal exception error
    via Stack Overflow by user2850116
  • Class not working, Error occured?
    via Stack Overflow by Hari
    • java.lang.SecurityException: Permission not granted for: CardContentProvider.query /decks (sk.baka.aedict3) at android.os.Parcel.readException( at android.database.DatabaseUtils.readExceptionFromParcel( at android.database.DatabaseUtils.readExceptionFromParcel( at android.content.ContentProviderProxy.query( at android.content.ContentResolver.query( at android.content.ContentResolver.query( at com.ichi2.anki.api.AddContentApi.getDeckList( at sk.baka.aedict3.util.export.AnkiDroidConfig.getDeckNames( at sk.baka.aedict3.util.export.Exporter2.getDecks( at sk.baka.aedict3.util.export.ExportEditorDialog.<init>( at at sk.baka.aedict3.util.export.Exporter2.addDirectlyToAnkiDroid( at sk.baka.aedict3.util.export.Exporter2.onMenuItemClicked( at sk.baka.aedict3.dict.JMDictEntryFragment.onOptionsItemSelected( at at at at at at at at at at at at at android.widget.AdapterView.performItemClick( at android.widget.AbsListView.performItemClick( at android.widget.AbsListView$ at android.widget.AbsListView$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$ at

    Users with the same issue

    2 times, last one,
    1 times, last one,
    2 times, last one,
    21 times, last one,
    3 times, last one,
    231 more bugmates