I have uploaded my app in production by mistake. Now, I am trying to upload it to the beta version. and it says that:
Upload failed You need to use a different version code for your APK because you already have one with version code 1.
What should I do to upload the same apk to the beta version and remove existing from production? I have unpublished the app. Do I need to wait for some time or any suggestions to overcome this issue?
PS: I don't want to change package name and upload new apk on the server.
You cannot publish an apk file with the same version code. You have already published an apk with a versionCode of 1. Simply update the version code in your Manifest.xml. For example:
<manifest android:versionCode="2" ...>
On the right side of the Developer Console in your APK window there's a button that says "Switch to advanced mode." Activate advanced mode by pressing that button.
Once selected, a dropdown will appear under the "Actions" column for your APK, and you can select to move your application between alpha, beta, and production.Below's image shows what that menu looks like for an APK in beta.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With