-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class requires API level 18 (current min is 1): android.bluetooth.BluetoothManager
#10
Comments
因为你项目的sdk版本设置的是1,太低了,有些api要18以上才能用,你修改一下项目的minsdk为18即可 |
是minSdkVersion 18 |
👌 |
minSdkVersion 和minSdk 是一样的吧。Android studio(最新版) 会自动把 minSdkVersion 更新成minSdk |
那现在还是会报这个错误吗? |
不会了,估计是第一次启动会有这个警告。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Call requires API level 5 (current min is 1):
android.bluetooth.BluetoothAdapter#isEnabled
Class requires API level 18 (current min is 1):
android.bluetooth.BluetoothManager
The text was updated successfully, but these errors were encountered: