Android Studio今天用蓝牙的时候出现一个奇怪的问题
final BluetoothManager bluetoothManager = (BluetoothManager) getSystemService(BLUETOOTH_SERVICE);
Android Call requires API level 18 (current min is 15)
查了好多方法都失败
最后在Gradle Scripts > build.gradle (Module: app) > android中找到一行minSdkVersion
从15改成18,点一下上方的Sync Now就完事了