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

Solutions on the web

via GitHub by mik3y
, 1 year ago
User has not given permission to device UsbDevice[mName=/dev/bus/usb/002/002,mVendorId=9025,mProductId=67,mClass=2,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.hardware.usb.UsbInterface;@41b1a0b0]
via Stack Overflow by Britto
, 1 year ago
User has not given permission to device UsbDevice[mName=/dev/bus/usb/001/004,mVendorId=1254,mProductId=20758,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.hardware.usb.UsbInterface;@41679100]
via Stack Overflow by gaurav tiwari
, 4 months ago
getAllCellInfo: Neither user 10122 nor current process has android.permission.ACCESS_COARSE_LOCATION.
via GitHub by saiimons
, 2 years ago
Need BLUETOOTH_PRIVILEGED permission: Neither user 10119 nor current process has android.permission.BLUETOOTH_PRIVILEGED.
via GitHub by iverasp
, 1 year ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
via GitHub by contrudar
, 2 years ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
java.lang.SecurityException: User has not given permission to device UsbDevice[mName=/dev/bus/usb/002/002,mVendorId=9025,mProductId=67,mClass=2,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.hardware.usb.UsbInterface;@41b1a0b0]	at android.os.Parcel.readException(Parcel.java:1425)	at android.os.Parcel.readException(Parcel.java:1379)	at android.hardware.usb.IUsbManager$Stub$Proxy.openDevice(IUsbManager.java:366)	at android.hardware.usb.UsbManager.openDevice(UsbManager.java:265)	at com.hoho.android.usbserial.driver.UsbSerialProber$2.getDevice(UsbSerialProber.java:64)	at com.hoho.android.usbserial.driver.UsbSerialProber.acquire(UsbSerialProber.java:115)	at com.hoho.android.usbserial.driver.UsbSerialProber.acquire(UsbSerialProber.java:95)	at org.kegbot.core.KegboardManager.acquireSerialDevice(KegboardManager.java:255)	at org.kegbot.core.KegboardManager.runInBackground(KegboardManager.java:212)	at org.kegbot.core.BackgroundManager$1.run(BackgroundManager.java:38)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)	at java.lang.Thread.run(Thread.java:856)