检测版本更新App
This commit is contained in:
@@ -39,7 +39,7 @@ android {
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
versionName "1.0.1"//version 1.0.0-appstore version 1.0.0-xh
|
||||
versionName "Version 1.0.1"//version 1.0.0-appstore version 1.0.0-xh
|
||||
// 添加自定义字段
|
||||
buildConfigField "String", "APP_VERSION_NAME", "\"${versionName}\""
|
||||
buildConfigField "int", "APP_VERSION_CODE", "${versionCode}"
|
||||
|
||||
Reference in New Issue
Block a user