Skip to main content

Posts

Showing posts with the label APK

Upload failed You need to use a different version code for your APK because you already have one with version code 2

Upload failed You need to use a different version code for your APK because you already have one with version code 2 This is the error i got when i am trying to upload my new APK file to google playstore. So what i did and it worked below are some steps you can follow to fix this error. 1. go to > assets > plugins > android There you will see AndroidManifest.xml file open it in MonoDevelop at the end of 2nd line there is  code android:versionCode="1"> Now you should change the code 1 to 2 or increment it by 1. 2.After that goto player settings in inspector you can see other settings click on that and change or increment it by 1increment it by 1 save it and build APK  Upload again in google play It will upload successfully . Note: use your previous certificate for new apk otherwise you will get another error. like this. Upload failed You uploaded an APK that is signed with a different certificate to you