getBluetoothLeAdvertiser() returns null
问题 BluetoothLeAdvertiser advertiser = BluetoothAdapter.getDefaultAdapter().getBluetoothLeAdvertiser(); This returns null. I have tried on an API 21 and on an API 23 device, but with the same result. I have no idea what I am missing? The app builds and runs just fine, until of course the advertiser is used and the app crashes. I appreciate any help provided! :) 回答1: If you check the developer docs, link here. You'll see that the null object is returned in the following case: Returns a