From 5dc87361cc9997727ff26d56fa5c5e6019a420a8 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Tue, 11 Nov 2025 19:47:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BC=96=E8=AF=91=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E4=B8=8E=20WinBoLL=20APP=20=E9=80=82=E7=94=A8?= =?UTF-8?q?=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appbase/build.gradle | 9 ++++++--- libappbase/build.gradle | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/appbase/build.gradle b/appbase/build.gradle index f1adbe8b..34be52d7 100644 --- a/appbase/build.gradle +++ b/appbase/build.gradle @@ -19,12 +19,15 @@ def genVersionName(def versionName){ android { - compileSdkVersion 32 - buildToolsVersion "32.0.0" + // 1. compileSdkVersion:必须 ≥ targetSdkVersion,建议直接等于 targetSdkVersion(30) + 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 更新后需要手动设置 diff --git a/libappbase/build.gradle b/libappbase/build.gradle index c5346fe4..eebf7b60 100644 --- a/libappbase/build.gradle +++ b/libappbase/build.gradle @@ -5,11 +5,14 @@ apply from: '../.winboll/winboll_lint_build.gradle' android { - compileSdkVersion 32 - buildToolsVersion "32.0.0" + // 1. compileSdkVersion:必须 ≥ targetSdkVersion,建议直接等于 targetSdkVersion(30) + compileSdkVersion 30 + + // 2. buildToolsVersion:需匹配 compileSdkVersion,建议使用 30.x.x 最新稳定版(无需高于 compileSdkVersion) + buildToolsVersion "30.0.3" // 这是 30 对应的最新稳定版,避免使用 beta 版 defaultConfig { - minSdkVersion 24 + minSdkVersion 23 targetSdkVersion 30 } buildTypes {