From 7c3a035ca651b43b7892d4d3e5949839811cc77d Mon Sep 17 00:00:00 2001 From: tongtongstudio Date: Fri, 10 Dec 2021 17:27:30 +0800 Subject: [PATCH] =?UTF-8?q?version:1.6=20fix:minSdkVersion=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E4=B8=BA22=E7=94=9F=E6=88=90=E7=AD=BE=E5=90=8D?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20add:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index cbd2a03..a95677b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,10 +1,10 @@ apply plugin: 'com.android.application' -def appName() { +static def appName() { return "AoleyunDeviceInfo" } -def releaseTime() { +static def releaseTime() { return new Date().format("yyyyMMdd-HHmmss", TimeZone.getDefault()) } @@ -29,7 +29,8 @@ android { defaultConfig { applicationId "com.aoleyun.sn" - minSdkVersion 26 + //There are no CERT files because If the mini sdk version is 23+, the AGP will ignore the V1 scheme signature. + minSdkVersion 22 targetSdkVersion 29 multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -156,7 +157,7 @@ android { keyAlias "xueshibaoos" keyPassword "123456" v1SigningEnabled true - v2SigningEnabled false + v2SigningEnabled true } }