编译环境参数调整

This commit is contained in:
2026-01-06 14:08:30 +08:00
parent 61cfa7f3ff
commit cce4a643e7
4 changed files with 17 additions and 9 deletions

View File

@@ -19,11 +19,11 @@ def genVersionName(def versionName){
android {
// 1. compileSdkVersion必须 ≥ targetSdkVersion建议直接等于 targetSdkVersion30
compileSdkVersion 30
// 关键:改为你已安装的 SDK 32≥ targetSdkVersion 30兼容已安装环境
compileSdkVersion 32
// 2. buildToolsVersion需匹配 compileSdkVersion建议使用 30.x.x 最新稳定版(无需高于 compileSdkVersion
buildToolsVersion "30.0.3" // 这是 30 对应的最新稳定版,避免使用 beta 版
// 直接使用已安装的构建工具 33.0.3(无需修改
buildToolsVersion "33.0.3"
defaultConfig {
applicationId "cc.winboll.studio.winboll"