尽管我安装了 SDK,但未显示 Android API 30

时间:2021-04-07 11:15:58

标签: android

我已经在 Android Studio 中安装了 API 30 SDK:

enter image description here

在我的项目代码中,当我尝试将目标级别指定为 30 时,弹出列表只显示 API 29 作为最新的 API 级别,这是为什么?

enter image description here

我的根级 build.gradle:

enter image description here

我的应用级 build.gradle:

enter image description here

1 个答案:

答案 0 :(得分:0)

您模块的 compileSdkVersion 文件中的 build.gradle 可能设置为 29。如果是,请将其提高到 30

相关问题