uid 10069 does not have android.permission.UPDATE_APP_OPS_STATS.

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 the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest


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

Stack trace

  • java.lang.SecurityException: uid 10069 does not have android.permission.UPDATE_APP_OPS_STATS. at android.os.Parcel.readException( at android.os.Parcel.readException( at android.content.IClipboard$Stub$Proxy.setPrimaryClip( at android.content.ClipboardManager.setPrimaryClip( at android.widget.TextView.setPrimaryClip( at android.widget.TextView.onTextContextMenuItem( at android.widget.Editor$SelectionActionModeCallback.onActionItemClicked( at$DecorView$ActionModeCallbackWrapper.onActionItemClicked( at at at at at at at android.view.View.performClick( at android.view.View$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke( at$ at at dalvik.system.NativeStart.main(Native Method)

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

Unknown UserUnknown User
14 times, last one
3 times, last one
Hiren AmaliyarHiren Amaliyar
669 times, last one
48 times, last one
138 times, last one
232 more bugmates