Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert 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.

  2. ,
    via android.com by Unknown author

    You need to request MANAGE_USERS permissions before using of this method.

Solutions on the web

via Stack Overflow by dissipate
, 1 year ago
com.example.android.screenbrightness was not granted this permission: android.permission.WRITE_SETTINGS.
via Stack Overflow by Tomáš Hubálek
, 2 years ago
net.hubalek.android.xxx was not granted this permission: android.permission.WRITE_SETTINGS.
via Stack Overflow by Shailesh Limbadiya
, 2 years ago
com.zennaxx.touchingeffect was not granted this permission: android.permission.WRITE_SETTINGS.
via Stack Overflow by Tobias Lukoschek
, 1 year ago
Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
via Stack Overflow by Kenertj
, 1 year ago
com.example.kenert.allinoneapp was not granted this permission: android.permission.WRITE_SETTINGS.
via GitHub by jyhpsycho
, 1 year ago
Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
java.lang.SecurityException: com.example.android.screenbrightness was not granted  this permission: android.permission.WRITE_SETTINGS.	at android.os.Parcel.readException(Parcel.java:1599)	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)	at android.content.ContentProviderProxy.call(ContentProviderNative.java:646)	at android.provider.Settings$NameValueCache.putStringForUser(Settings.java:1322)	at android.provider.Settings$System.putStringForUser(Settings.java:1671)	at android.provider.Settings$System.putIntForUser(Settings.java:1776)	at android.provider.Settings$System.putInt(Settings.java:1770)	at com.example.android.screenbrightness.MainActivity$4.onStopTrackingTouch(MainActivity.java:108)	at android.widget.SeekBar.onStopTrackingTouch(SeekBar.java:121)	at android.widget.AbsSeekBar.onTouchEvent(AbsSeekBar.java:604)	at android.view.View.dispatchTouchEvent(View.java:9294)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403)	at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737)	at android.app.Activity.dispatchTouchEvent(Activity.java:2765)	at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)	at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364)	at android.view.View.dispatchPointerEvent(View.java:9514)	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4230)	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4096)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3787)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3844)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5922)	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5896)	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5857)	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6025)	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)	at android.os.MessageQueue.nativePollOnce(Native Method)