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

Stack Overflow | narb | 3 months ago
  1. 0

    My code crashes with set_time permission issue

    Stack Overflow | 3 months ago | narb
    java.lang.SecurityException: setTime: Neither user 10227 nor current process has android.permission.SET_TIME.
  2. 0

    Set Android's date/time programmatically

    Stack Overflow | 5 years ago | eliangela
    java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.tdta.service/br.com.tdta.service.Service}: java.lang.SecurityException: setTime: Neither user 10038 nor current process has android.permission.SET_TIME.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 29#185969363

    GitHub | 10 months ago | Jonny007-MKD
    java.lang.SecurityException: setTime: Neither user 10139 nor current process has android.permission.SET_TIME.
  5. 0

    NotificationManager.notify() fails with SecurityException

    Stack Overflow | 5 years ago | TN.
    java.lang.SecurityException: Neither user ***** nor current process has android.permission.WAKE_LOCK.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.SecurityException

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

      at android.os.Parcel.readException()
    2. Android Platform
      AlarmManager.setTime
      1. android.os.Parcel.readException(Parcel.java:1465)
      2. android.os.Parcel.readException(Parcel.java:1419)
      3. android.app.IAlarmManager$Stub$Proxy.setTime(IAlarmManager.java:191)
      4. android.app.AlarmManager.setTime(AlarmManager.java:512)
      4 frames
    3. com.bernard.settime
      MainActivity.onCreate
      1. com.bernard.settime.MainActivity.onCreate(MainActivity.java:20)
      1 frame