Skip to content

Missing permissions required by BluetoothAdapter.disable: android.permission.BLUETOOTH_CONNECT [MissingPermission] #159

Description

@LauraKlipfel

Hello,

When I run the ./gradlew build command I get the following error:

Error: Missing permissions required by BluetoothAdapter.disable: android.permission.BLUETOOTH_CONNECT [MissingPermission] bluetoothAdapter.disable(); ~~~~~~~~~~~~~~~~~~~~~~~~~~

For the command to succeed I add :
@SuppressLint("MissingPermission")

Would it be possible to have the permissions check or the suppressLint in the next release?

Thanks a lot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions