Reputation: 3912
I want to upload a draft of an APK to test In-App Billing that I am trying to implement. I see here that I am supposed to leave the android:versionCode=""
the same in order to upload my APK as a draft so that is what I did. Now when I upload the new signed APK I get this error:
You need to use a different version code for your APK because you already have one with version code 3.
Did this process change with the new Beta and Alpha releases update in the Dev Console?
Upvotes: 0
Views: 1265
Reputation: 7027
You need to have both with the same versionCode (signed with the same certificate):
When you upload a new version, you always have to increase the version code, that's why you are having this error.
So you should increase the versionCode to 4, upload the new version as a draft to google play and test on your device!
And by the way, it takes a while for google to process your APK, it might not be ready as soon as you upload it!
Upvotes: 1