java.lang.SecurityException

Need BLUETOOTH permission: Neither user 1002 nor current process has android.permission.BLUETOOTH.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web2403

  • via JIRA by Joni, 1 year ago
    Need BLUETOOTH permission: Neither user 1002 nor current process has android.permission.BLUETOOTH.
  • via JIRA by Joni, 1 year ago
    Need BLUETOOTH permission: Neither user 1002 nor current process has android.permission.BLUETOOTH.
  • Need BLUETOOTH permission: Neither user 10227 nor current process has android.permission.BLUETOOTH.
  • Stack trace

    • java.lang.SecurityException: Need BLUETOOTH permission: Neither user 1002 nor current process has android.permission.BLUETOOTH. at android.app.ContextImpl.enforce(ContextImpl.java:1450) at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1482) at android.content.ContextWrapper.enforceCallingOrSelfPermission(ContextWrapper.java:681) at com.android.bluetooth.btservice.AdapterService.getRemoteName(AdapterService.java:1962) at com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder.getRemoteName(AdapterService.java:1050) at android.bluetooth.BluetoothDevice.getName(BluetoothDevice.java:726) at com.android.bluetooth.avrcp.Avrcp$AvrcpMessageHandler.handleMessage(Avrcp.java:1034) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.os.HandlerThread.run(HandlerThread.java:61)

    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

    1007 times, 1 week ago
    38 times, 2 weeks ago
    40 times, 1 month ago
    2 times, 7 months ago
    Once, 8 months ago
    35 more bugmates