2020年3月21日 (六) 16:34的最新版本
2020-03-22 00:15
使用
android {
...
buildTypes {
debug {
resValue "string", "app_name", "APP Debug Version"
...
}
release {
resValue "string", "app_name", "APP Release Version"
...
}
}
}
注意,记得在 strings.xml 中注释掉原有的 app_name 条目,不然会打包出错。