检测版本更新App

This commit is contained in:
fengjignqi
2026-07-02 08:45:59 +08:00
parent b5e9f0de3b
commit d2610d5b61
19 changed files with 251 additions and 66 deletions

View File

@@ -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}"