java.lang.SecurityException: Need BLUETOOTH PRIVILEGED permission

前端 未结 5 2297
天涯浪人
天涯浪人 2021-02-19 22:12

Has anyone meet the same problem as the following error message shows when calling bluetoothDeive.createBond() method with android 4.4 api?

j

5条回答
  •  佛祖请我去吃肉
    2021-02-19 22:56

    You can't use this permission if your app is a third party app (non-system app). To learn more, see Android API: BLUETOOTH_PRIVILEGED

提交回复
热议问题