I\'m trying to use the function BluatoothLeScanner.startScan instead of the deprecated one BluetoothAdapter.startLeScan. Yesterday I updated my Nexus 5 to
Set your 'minSdkVersion' to 18 targetSdkVersion 22