java.lang.SecurityException

Permission Denial: service asks to run as user 0 but is calling from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL

Samebug tips5

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 to request READ_PHONE_STATE permissions before using of this method.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3259

  • via mozilla.com by Unknown author, 6 months ago
    Permission Denial: service asks to run as user 0 but is calling from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL
  • Permission Denial: AppWidgetService from com.android.server asks to run as user 23886906 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
  • via Google Groups by Nat101, 9 months ago
    Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
  • Stack trace

    • java.lang.SecurityException: Permission Denial: service asks to run as user 0 but is calling from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL at android.os.Parcel.readException(Parcel.java)

    Write tip

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

    Users with the same issue

    669 times, 2 weeks ago
    86 times, 1 month ago
    201 times, 1 month ago
    2 times, 1 month ago
    3 times, 3 months ago
    232 more bugmates