java.lang.SecurityException

setTime: Neither user 10227 nor current process has android.permission.SET_TIME.

Samebug tips5

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 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 https://goo.gl/nXsTvH for more information about it.

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

Solutions on the web1255

  • via Stack Overflow by narb
    , 10 months ago
    setTime: Neither user 10227 nor current process has android.permission.SET_TIME.
  • via Stack Overflow by eliangela
    , 8 months ago
    setTime: Neither user 10038 nor current process has android.permission.SET_TIME.
  • setTime: Neither user 10050 nor current process has android.permission.SET_TIME.
  • Stack trace

    • java.lang.SecurityException: setTime: Neither user 10227 nor current process has android.permission.SET_TIME. at android.os.Parcel.readException(Parcel.java:1465) at android.os.Parcel.readException(Parcel.java:1419) at android.app.IAlarmManager$Stub$Proxy.setTime(IAlarmManager.java:191) at android.app.AlarmManager.setTime(AlarmManager.java:512) at com.bernard.settime.MainActivity.onCreate(MainActivity.java:20)

    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

    14 times, 4 days ago
    3 times, 4 days ago
    669 times, 1 week ago
    48 times, 2 weeks ago
    138 times, 2 weeks ago
    232 more bugmates