助记词转换
This commit is contained in:
@@ -25,6 +25,10 @@ apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
||||
|
||||
def keystorePropertiesFile = rootProject.file("key.properties")
|
||||
def keystoreProperties = new Properties()
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
|
||||
android {
|
||||
compileSdkVersion flutter.compileSdkVersion
|
||||
|
||||
@@ -42,14 +46,30 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "site.zhchain.chat"
|
||||
minSdkVersion flutter.minSdkVersion
|
||||
// minSdkVersion flutter.minSdkVersion
|
||||
minSdkVersion 21
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||
storePassword keystoreProperties['storePassword']
|
||||
}
|
||||
|
||||
debug {
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||
storePassword keystoreProperties['storePassword']
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
// TODO: Add your own signing config for the release build.
|
||||
@@ -57,6 +77,18 @@ android {
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
}
|
||||
|
||||
// 打包失败,加的配置
|
||||
lintOptions {
|
||||
checkReleaseBuilds false
|
||||
abortOnError false
|
||||
}
|
||||
}
|
||||
|
||||
flutter {
|
||||
|
||||
10
android/app/key/key.md
Executable file
10
android/app/key/key.md
Executable file
@@ -0,0 +1,10 @@
|
||||
别名 jzbg
|
||||
|
||||
密码 zhchain
|
||||
|
||||
keytool -genkey -alias jzbg -keyalg RSA -keysize 2048 -validity 36500 -keystore jzbg.keystore
|
||||
keytool -list -v -keystore jzbg.keystore
|
||||
|
||||
应用签名 ef8ecfa4e4ddae833195fd53ac9fc0b1
|
||||
MD5 EF:8E:CF:A4:E4:DD:AE:83:31:95:FD:53:AC:9F:C0:B1
|
||||
SHA1 0D:4C:73:E3:8D:AF:6B:D3:A3:07:0E:A4:2C:BB:BD:C8:EA:EA:17:AE
|
||||
Reference in New Issue
Block a user