version:1.6
fix:minSdkVersion更换为22生成签名文件 add:
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
def appName() {
|
static def appName() {
|
||||||
return "AoleyunDeviceInfo"
|
return "AoleyunDeviceInfo"
|
||||||
}
|
}
|
||||||
|
|
||||||
def releaseTime() {
|
static def releaseTime() {
|
||||||
return new Date().format("yyyyMMdd-HHmmss", TimeZone.getDefault())
|
return new Date().format("yyyyMMdd-HHmmss", TimeZone.getDefault())
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,7 +29,8 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.aoleyun.sn"
|
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
|
targetSdkVersion 29
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
@@ -156,7 +157,7 @@ android {
|
|||||||
keyAlias "xueshibaoos"
|
keyAlias "xueshibaoos"
|
||||||
keyPassword "123456"
|
keyPassword "123456"
|
||||||
v1SigningEnabled true
|
v1SigningEnabled true
|
||||||
v2SigningEnabled false
|
v2SigningEnabled true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user