java.lang.SecurityException: uid 10069 does not have android.permission.UPDATE_APP_OPS_STATS.

google.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.SecurityException

    uid 10069 does not have android.permission.UPDATE_APP_OPS_STATS.

    at android.os.Parcel.readException()
  2. Android Platform
    Editor$SelectionActionModeCallback.onActionItemClicked
    1. android.os.Parcel.readException(Parcel.java:1431)
    2. android.os.Parcel.readException(Parcel.java:1385)
    3. android.content.IClipboard$Stub$Proxy.setPrimaryClip(IClipboard.java:171)
    4. android.content.ClipboardManager.setPrimaryClip(ClipboardManager.java:125)
    5. android.widget.TextView.setPrimaryClip(TextView.java:8466)
    6. android.widget.TextView.onTextContextMenuItem(TextView.java:8221)
    7. android.widget.Editor$SelectionActionModeCallback.onActionItemClicked(Editor.java:2818)
    7 frames
  3. Android
    ActionMenuItemView.onClick
    1. com.android.internal.policy.impl.PhoneWindow$DecorView$ActionModeCallbackWrapper.onActionItemClicked(PhoneWindow.java:2569)
    2. com.android.internal.view.StandaloneActionMode.onMenuItemSelected(StandaloneActionMode.java:133)
    3. com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:735)
    4. com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
    5. com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
    6. com.android.internal.view.menu.ActionMenuView.invokeItem(ActionMenuView.java:547)
    7. com.android.internal.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:115)
    7 frames
  4. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4240)
    2. android.view.View$PerformClick.run(View.java:17721)
    3. android.os.Handler.handleCallback(Handler.java:730)
    4. android.os.Handler.dispatchMessage(Handler.java:92)
    5. android.os.Looper.loop(Looper.java:137)
    6. android.app.ActivityThread.main(ActivityThread.java:5103)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame