java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10196 nor current process has android.permission.BLUETOOTH. ` See also http://stackoverflow.com/questions/33245977/java-lang-securityexception-bluetooth-permission-crash-samsung-devices-only This seems to be a Samsung issue, but a simple try/catch for SecurityException around the call will solve this issue. Crash happened in altbeacon version 2.9 and is still an issue in 2.9.1 ``` #0. Crashed: main: 0 0 0x0000000000000000

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

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.

,
Expert tip

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest

Solutions on the web

via GitHub by inbeacon
, 1 year ago
a Samsung issue, but a simple try/catch for SecurityException around the call will solve this issue. Crash happened in altbeacon version 2.9 and is still an issue in 2.9.1 ``` #0. Crashed: main: 0 0 0x0000000000000000
via GitHub by nishkarsh
, 1 year ago
Need BLUETOOTH permission: Neither user 10136 nor current process has android.permission.BLUETOOTH.
via Stack Overflow by eric
, 2 years ago
Need BLUETOOTH permission: Neither user 10025 nor current process has android.permission.BLUETOOTH.
via Stack Overflow by Barnali Bhattacharjee
, 10 months ago
getImei: Neither user 10122 nor current process has android.permission.READ_PHONE_STATE.
via GitHub by Tnnnguyen
, 7 months ago
Need BLUETOOTH permission: Neither user 10259 nor current process has android.permission.BLUETOOTH.
via Google Groups by Oyin Oluwatimi, 2 years ago
WifiService: Neither user 10009 nor current process has android.permission.ACCESS_WIFI_STATE.
java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10196 nor current process has android.permission.BLUETOOTH. ` See also http://stackoverflow.com/questions/33245977/java-lang-securityexception-bluetooth-permission-crash-samsung-devices-only This seems to be a Samsung issue, but a simple try/catch for SecurityException around the call will solve this issue. Crash happened in altbeacon version 2.9 and is still an issue in 2.9.1 ``` #0. Crashed: main: 0 0 0x0000000000000000
at android.os.Parcel.readException(Parcel.java:1540)
at android.os.Parcel.readException(Parcel.java:1493)
at android.bluetooth.IBluetooth$Stub$Proxy.isEnabled(IBluetooth.java:1219)
at android.bluetooth.BluetoothAdapter.isEnabled(BluetoothAdapter.java:707)
at org.altbeacon.beacon.service.scanner.CycledLeScanner.finishScanCycle(CycledLeScanner.java:250)
at org.altbeacon.beacon.service.scanner.CycledLeScanner.scheduleScanCycleStop(CycledLeScanner.java:239)
at org.altbeacon.beacon.service.scanner.CycledLeScanner$1.run(CycledLeScanner.java:235)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6145)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

Users with the same issue

Once, 3 days ago
Once, 1 month ago
Once, 1 month ago
Once, 1 month ago
7 times, 1 month ago

Write tip

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