java.lang.SecurityException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

tip

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

tip

MANAGE_USERS has a protection level of signature|system, so your application must be signed with the platform key. Take a look on this https://goo.gl/nXsTvH 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.

  • September « 2013 « Meeting Notes
    via by Unknown author,
  • TelephonyManager crashing on android studio
    via by Unknown author,
  • GitHub comment 868#243217900
    via GitHub by k3b
    ,
    • java.lang.SecurityException at android.os.Parcel.readException(Parcel.java)

    Users with the same issue

    Aravind
    Aravind86 times, last one,
    Indri Yunita
    Indri Yunita199 times, last one,
    Unknown User
    Unknown User2 times, last one,
    Hiren Amaliyar
    Hiren Amaliyar6 times, last one,
    0x60
    0x603 times, last one,
    229 more bugmates