java.lang.SecurityException: Need BLUETOOTH_PRIVILEGED permission: Neither user 10186 nor current process has android.permission.BLUETOOTH_PRIVILEGED.

1,581 views
Skip to first unread message

Paolo Meraviglia

unread,
Oct 10, 2021, 3:52:18 AM10/10/21
to Automate
Hi all,

Here is Paolo, with a POCO F1 with latest lineage 18.1 (android 11).

I am trying to connect to a bluetooth PAN device, but when I try so I receive the message

java.lang.SecurityException: Need BLUETOOTH_PRIVILEGED permission: Neither user 10186 nor current process has android.permission.BLUETOOTH_PRIVILEGED.

And the process hangs.
What should I do to make it work?

Automate version 1.30
Android 11, lineage 18.1

Thank you

Henrik "The Developer" Lindqvist

unread,
Oct 10, 2021, 9:59:27 AM10/10/21
to Automate
Probably not possible on Android 11, as the documentation say, "This feature isn’t officially supported, may not work on all devices."
Reply all
Reply to author
Forward
0 new messages