Closed ayasady closed 6 years ago
Have you requested ACCESS_COARSE_LOCATION & ACCESS_FINE_LOCATION in your manifest? See Issue #7, and numerous (16,20,28,33,& 48) pull requests.
@ayasady just modify the gradle: targetSdkVersion 22
thanks for all , I add the permission of location and it work fine
hello , I am use sample BluetoothLeGatt and it work fine on android 4 , But when I run it on android 6 it not work ( can not find the Bluetooth when it make scan , I search and find the problem because the method stopLeScan and startLeScan are deprecated , I try alot to use the method stopScan and startScan But I can not , so any body can help , this is the hole code of scan :