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

Samebug tips5

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

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.

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

Solutions on the web4648

  • 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
  • Need BLUETOOTH permission: Neither user 10227 nor current process has android.permission.BLUETOOTH.
  • Need BLUETOOTH permission: Neither user 10076 nor current process has android.permission.BLUETOOTH.
  • Stack trace

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

    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

    Unknown user
    Once, 1 year ago
    14 times, 6 days ago
    3 times, 1 week ago
    669 times, 2 weeks ago
    48 times, 2 weeks ago
    232 more bugmates