From 89aefd635406e20860cb72e0295902933e26a50e Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Sat, 10 Jan 2026 10:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BC=96=E8=AF=91=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E9=80=82=E9=85=8D=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 1 + winboll/build.gradle | 20 +++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index 858671d..55d02df 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,7 @@ buildscript { //mavenLocal() } dependencies { + // 适配MIUI12 classpath 'com.android.tools.build:gradle:7.2.1' // 对应 compileSdkVersion 32 // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/winboll/build.gradle b/winboll/build.gradle index 95f112f..820fc34 100644 --- a/winboll/build.gradle +++ b/winboll/build.gradle @@ -18,16 +18,14 @@ def genVersionName(def versionName){ } android { + // 适配MIUI12 + compileSdkVersion 30 + buildToolsVersion "30.0.3" - // 关键:改为你已安装的 SDK 32(≥ targetSdkVersion 30,兼容已安装环境) - compileSdkVersion 32 - - // 直接使用已安装的构建工具 33.0.3(无需修改) - buildToolsVersion "33.0.3" - defaultConfig { applicationId "cc.winboll.studio.winboll" - minSdkVersion 23 + minSdkVersion 23 + // 适配MIUI12 targetSdkVersion 30 versionCode 1 // versionName 更新后需要手动设置 @@ -92,12 +90,12 @@ dependencies { //annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0' // WinBoLL库 nexus.winboll.cc 地址 - //api 'cc.winboll.studio:libaes:15.12.0' - //api 'cc.winboll.studio:libappbase:15.12.2' + api 'cc.winboll.studio:libaes:15.12.13' + api 'cc.winboll.studio:libappbase:15.14.2' // WinBoLL备用库 jitpack.io 地址 - api 'com.github.ZhanGSKen:AES:aes-v15.12.1' - api 'com.github.ZhanGSKen:APPBase:appbase-v15.12.2' + //api 'com.github.ZhanGSKen:AES:aes-v15.12.9' + //api 'com.github.ZhanGSKen:APPBase:appbase-v15.14.1' api fileTree(dir: 'libs', include: ['*.jar']) }