New to the forums? Click here to read the "How To" Guide.

Developer? Click here to go to the Developer Forums.

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

Chris_WChris_W Posts: 3
NerveGear
Hey there, first post for me.

I am trying to update my Alpha build with a second APK but am receiving the following error:

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

My previously uploaded Alpha has a version of 1.0 and version code 1. 

My new Android Manifest has the following:

android:versionCode="2" android:versionName="2.0"
so I have incremented both the version name and the version code but still get the error. Am I missing something?

Thanks

Comments

  • Chris_WChris_W Posts: 3
    NerveGear
    So it turns out that you also have to set the version number and code in Unity under Edit -> Project Settings -> Player -> Other. I was just setting the version number in the Manifest XML itself and hadn't heard of this setting in Unity.
  • TAGvideoTAGvideo Posts: 2
    NerveGear
    I am having this issue now, I have updated everything OVR, Oculus, Android SDK, Java, Changed version and bundle version.

    Using Unity
    Any thoughts?
Sign In or Register to comment.