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.

  • GitHub comment 330#228449487
    via GitHub by barbeau
  • GitHub comment 48#305614134
    via GitHub by ncapdevi
  • Crash after Permission
    via GitHub by boredom2
  • GitHub comment 68#192697926
    via GitHub by xuefer
  • App Crashed While getting device Id
    via Stack Overflow by user2566484
    • java.lang.SecurityException: Client must have ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to perform any location operations. at android.os.Parcel.readException( at android.os.Parcel.readException( at$a$a.bW(Unknown Source) at Source) at Source) at Source) at com.joulespersecond.seattlebusbot.util.LocationHelp.getLocation2( at at at at at$StopsLoader.deliverResult( at$StopsLoader.deliverResult( at at$LoadTask.onPostExecute( at at$500( at$InternalHandler.handleMessage( 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

    9 times, last one,
    Unknown visitor1 times, last one,
    Indri Yunita
    2 times, last one,
    31 times, last one,
    16 times, last one,
    229 more bugmates