备份一下项目中的app.build文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "AppName"
resValue "string", "account_type", "io.jiezhi.app.type"
}
preRelease {
debuggable true
jniDebuggable true
minifyEnabled true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
applicationIdSuffix ".pre"
resValue "string", "app_name", "AppName(Pre)"
resValue "string", "account_type", "io.jiezhi.app.type.pre"
versionNameSuffix '-pre'
}
debug {
applicationIdSuffix ".debug"
resValue "string", "app_name", "AppName(debug)"
resValue "string", "account_type", "io.jiezhi.app.type.debug"
versionNameSuffix '-debug'
}

听首音乐放松一下

author: Jiezhi.G
email: Jiezhi.G@gmail.com

欢迎关注我的公众号『日技』