java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10396 nor current process has android.permission.BLUETOOTH.

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

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

,
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 Stack Overflow by Kyaw Min Thu L
, 1 year ago
Need BLUETOOTH permission: Neither user 10396 nor current process has android.permission.BLUETOOTH.
via GitHub by victor5171
, 3 months ago
Need BLUETOOTH permission: Neither user 10529 nor current process has android.permission.BLUETOOTH.
via GitHub by agramian
, 9 months ago
Need BLUETOOTH permission: Neither user 10348 nor current process has android.permission.BLUETOOTH.
via GitHub by aliamohsin
, 6 months ago
Need BLUETOOTH permission: Neither user 10201 nor current process has android.permission.BLUETOOTH.
via Google Groups by AndroidJellyB, 1 year ago
get application info: Neither user 1510130 nor current process has android.permission.INTERACT_ACROSS_USERS.
via Stack Overflow by lannyf
, 1 year ago
Permission Denial: getIntentSender() from pid=3109, uid=10153, (need uid=1000) is not allowed to send as package android
java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10396 nor current process has android.permission.BLUETOOTH.
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at android.bluetooth.IBluetoothManager$Stub$Proxy.registerStateChangeCallback(IBluetoothManager.java:342)
at android.bluetooth.BluetoothAdapter.(BluetoothAdapter.java:594)
at ru.mail.android.mytracker.providers.NetworkInfoDataProvider.collectData(SourceFile:90)
at ru.mail.android.mytracker.providers.FingerprintDataProvider.collectData(SourceFile:92)
at ru.mail.android.mytracker.async.commands.AbstractHttpCommand.execute(SourceFile:67)
at ru.mail.android.mytracker.async.commands.TrackMajorEventsCommand.execute(SourceFile:117)
at ru.mail.android.mytracker.async.commands.AbstractAsyncCommand.run(SourceFile:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

6 times, 1 year ago
248 times, 1 year ago
4 times, 1 year ago
2 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.