调整编译工具与 WinBoLL APP 适用范围

This commit is contained in:
ZhanGSKen
2025-11-11 19:47:04 +08:00
parent 269e7b30be
commit 5dc87361cc
2 changed files with 12 additions and 6 deletions

View File

@@ -19,12 +19,15 @@ def genVersionName(def versionName){
android {
compileSdkVersion 32
buildToolsVersion "32.0.0"
// 1. compileSdkVersion:必须 ≥ targetSdkVersion建议直接等于 targetSdkVersion30
compileSdkVersion 30
// 2. buildToolsVersion需匹配 compileSdkVersion建议使用 30.x.x 最新稳定版(无需高于 compileSdkVersion
buildToolsVersion "30.0.3" // 这是 30 对应的最新稳定版,避免使用 beta 版
defaultConfig {
applicationId "cc.winboll.studio.appbase"
minSdkVersion 24
minSdkVersion 23
targetSdkVersion 30
versionCode 1
// versionName 更新后需要手动设置

View File

@@ -5,11 +5,14 @@ apply from: '../.winboll/winboll_lint_build.gradle'
android {
compileSdkVersion 32
buildToolsVersion "32.0.0"
// 1. compileSdkVersion:必须 ≥ targetSdkVersion建议直接等于 targetSdkVersion30
compileSdkVersion 30
// 2. buildToolsVersion需匹配 compileSdkVersion建议使用 30.x.x 最新稳定版(无需高于 compileSdkVersion
buildToolsVersion "30.0.3" // 这是 30 对应的最新稳定版,避免使用 beta 版
defaultConfig {
minSdkVersion 24
minSdkVersion 23
targetSdkVersion 30
}
buildTypes {