googlearchive/android-BluetoothLeGatt

no devices detected

michrft opened this issue · 1 comments

Hello,

I imported the Bluetooth Le Gatt project. When I test it on a Samsung tablet, it finds no devices at all and stops scan after the 10 seconds timeout.
On the same tablet there is the BLE Scanner (Bluepixel) application which discovers the BLE devices, so hardware and permissions should be ok....
What can I do to solve this issue?
I found nothing in the log. Location permission is enabled.
I tried #38 but make fails at if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) => error: package Build does not exist

Best regards
Mich

with a few import and @nonnull suppression, scan works fine with the permission