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 } }