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

GitHub | inbeacon | 2 months ago
  1. 0

    Bluetooth isEnabled() call can give an exception.

    GitHub | 2 months ago | inbeacon
    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
  2. 0

    java.lang.SecurityException: BLUETOOTH permission crash. (Samsung devices only)

    Stack Overflow | 1 year ago | eric
    java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10025 nor current process has android.permission.BLUETOOTH.
  3. 0

    Problems with android bluetooth permissions

    Stack Overflow | 4 years ago | J. Arenas
    java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10076 nor current process has android.permission.BLUETOOTH.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Bluetooth is crashing for not having permissions although it do has them

    Stack Overflow | 4 years ago | J. Arenas
    java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10076 nor current process has android.permission.BLUETOOTH.
  6. 0

    Unfortunately (app) has stopped android developer error

    Stack Overflow | 3 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fridgeshoot/com.example.fridgeshoot.MainActivity}: java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10117 nor current process has android.permission.BLUETOOTH.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Android Platform
      BluetoothAdapter.isEnabled
      1. android.os.Parcel.readException(Parcel.java:1540)
      2. android.os.Parcel.readException(Parcel.java:1493)
      3. android.bluetooth.IBluetooth$Stub$Proxy.isEnabled(IBluetooth.java:1219)
      4. android.bluetooth.BluetoothAdapter.isEnabled(BluetoothAdapter.java:707)
      4 frames
    3. org.altbeacon.beacon
      CycledLeScanner$1.run
      1. org.altbeacon.beacon.service.scanner.CycledLeScanner.finishScanCycle(CycledLeScanner.java:250)
      2. org.altbeacon.beacon.service.scanner.CycledLeScanner.scheduleScanCycleStop(CycledLeScanner.java:239)
      3. org.altbeacon.beacon.service.scanner.CycledLeScanner$1.run(CycledLeScanner.java:235)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:145)
      4. android.app.ActivityThread.main(ActivityThread.java:6145)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames