How to add Bluetooth_Connect permission

I have an app that worked well on my old phone, but on my new phone with Android 12 I get this error: “Need android.permission.BLUETOOTH_CONNECT”. I am aware from other posts that I should do this:

But when I try to do that, BLUETOOTH_CONNECT is not an option for me:

How do I add the needed permission?

Exactly as shown in your first screenshot using a text block

Yes, that worked. I didn’t notice that it used a text block instead of one of the options that came with the permission block. Thanks, @Taifun.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.