Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process does not have BLUETOOTH permission: java.lang.SecurityException #376

Closed
askirk opened this issue Jan 20, 2017 · 2 comments
Closed
Assignees

Comments

@askirk
Copy link
Contributor

askirk commented Jan 20, 2017

Error

Caused by java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10227 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.IBluetooth$Stub$Proxy.getState(IBluetooth.java:1291) at android.bluetooth.BluetoothAdapter.getState(BluetoothAdapter.java:1086) at com.smartdevicelink.transport.SdlRouterService$3.onReceive(SourceFile:279)

was reported. It occured at

https://github.com/smartdevicelink/sdl_android/blob/master/sdl_android_lib/src/com/smartdevicelink/transport/SdlRouterService.java#L279

The following permissions should already be in the App Manifest for the app, need to investigate why they weren't in this instance.

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant