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

    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()

  2. ,
    via android.com by Unknown author

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

Solutions on the web

via forundex.ru by Unknown author, 1 year ago
Neither user 10005 nor current process has android.permission.PACKAGE_USAGE_STATS.
via forundex.ru by Unknown author, 1 year ago
Neither user 10005 nor current process has android.permission.PACKAGE_USAGE_STATS.
via forundex.ru by Unknown author, 1 year ago
Neither user 10005 nor current process has android.permission.PACKAGE_USAGE_STATS.
via forundex.ru by Unknown author, 2 years ago
Neither user 10005 nor current process has android.permission.PACKAGE_USAGE_STATS.
via forundex.ru by Unknown author, 1 year ago
Neither user 10005 nor current process has android.permission.PACKAGE_USAGE_STATS.
via Stack Overflow by Unknown author, 2 years ago
Neither user 10006 nor current process has android.permission.PACKAGE_USAGE_STATS.
java.lang.SecurityException: Neither user 10005 nor current process has android.permission.PACKAGE_USAGE_STATS.	at android.os.Parcel.readException(Parcel.java:1476)	at android.os.Parcel.readException(Parcel.java:1430)	at com.android.internal.app.IUsageStats$Stub$Proxy.getAllPkgUsageStats(IUsageStats.java:237)	at android.app.ActivityManager.getAllPackageUsageStats(ActivityManager.java:2217)	at com.android.providers.applications.ApplicationsProvider.fetchUsageStats(ApplicationsProvider.java:674)	at com.android.providers.applications.ApplicationsProvider.updateApplicationsList(ApplicationsProvider.java:512)	at com.android.providers.applications.ApplicationsProvider.access$300(ApplicationsProvider.java:69)	at com.android.providers.applications.ApplicationsProvider$UpdateHandler.handleMessage(ApplicationsProvider.java:206)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:136)	at android.os.HandlerThread.run(HandlerThread.java:61)