Playstore 错误 - 您需要为您的 APK 或 Android App Bundle 使用不同的版本代码,因为您已经有版本代码为 4 的
Playstore Error - You need to use a different version code for your APK or Android App Bundle because you already have one with version code 4
我的应用旧版本是:2.0.0+4
我尝试在 Play 商店中发布新更新... 新版本:2.0.1+4
我说的对不对?这些我还是初学者..
当我尝试上传 Play 商店时出现这些错误“您需要为您的 APK 或 Android App Bundle 使用不同的版本代码,因为您已经有版本代码为 4 的版本。 “
在 Flutter 项目中 pubspec.yaml
像这样更改版本
version: 2.0.1+5 --> 2.0.1 is version name & 5 is version code
更新应用程序时,请确保更新版本代码,最后代码 +1。
另外,您可以手动更改
Gradle 文件二 属性 (在 android 项目文件夹中)
versionCode 5--> make sure increase version code number
versionName '2.0.1'
别忘了在 pubspec.yaml 2.0.1+5.
中 增加版本号
之后,运行 flutter clean 并再次 build 您的应用程序。
我的应用旧版本是:2.0.0+4 我尝试在 Play 商店中发布新更新... 新版本:2.0.1+4
我说的对不对?这些我还是初学者..
当我尝试上传 Play 商店时出现这些错误“您需要为您的 APK 或 Android App Bundle 使用不同的版本代码,因为您已经有版本代码为 4 的版本。 “
在 Flutter 项目中 pubspec.yaml 像这样更改版本
version: 2.0.1+5 --> 2.0.1 is version name & 5 is version code
更新应用程序时,请确保更新版本代码,最后代码 +1。
另外,您可以手动更改 Gradle 文件二 属性 (在 android 项目文件夹中)
versionCode 5--> make sure increase version code number
versionName '2.0.1'
别忘了在 pubspec.yaml 2.0.1+5.
中 增加版本号之后,运行 flutter clean 并再次 build 您的应用程序。