我在递增,但仍然得到 "An APK with this package name and version code already exists."

I am incrementing, but still get "An APK with this package name and version code already exists."

第一个 post 对我来说。我也post把它发到了 Oculus 论坛。

我正在尝试使用第二个 APK 更新我的 Alpha 版本,但收到以下错误:

An APK with this package name and version code already exists. Please increment the version code and then resubmit your update.

我之前上传的Alpha版本为1.0,版本号为1。

我的新 Android 清单具有以下内容:

android:versionCode="2" android:versionName="2.0"

所以我增加了版本名称和版本代码,但仍然出现错误。我错过了什么吗? 谢谢

原来还得在Unity中设置版本号和代码在Edit -> Project Settings -> Player -> Other下。我只是在 Manifest XML 本身中设置版本号,并没有听说过 Unity 中的这个设置。