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()


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


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.

  • Android Adding Account with AccountManager
    via Stack Overflow by rapid3642
  • securityexception
    via GitHub by dschuermann
  • Security Exception with AccountManager
    via Stack Overflow by QuentR
  • Crash Report [1.3.0, SyncUtils]
    via GitHub by Fleker
    • java.lang.SecurityException: uid 10335 cannot explicitly add accounts of type: com.example.rapid.rapid at android.os.Parcel.readException( at android.os.Parcel.readException( at android.accounts.IAccountManager$Stub$Proxy.addAccountExplicitly( at android.accounts.AccountManager.addAccountExplicitly( at com.example.rapid.rapid.LoginActivity$1$1.onResponse( at com.example.rapid.rapid.LoginActivity$1$1.onResponse( at at at$ 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

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    12 times, last one,
    Hiren Amaliyar
    8 times, last one,
    86 times, last one,
    229 more bugmates