What does this Google Play APK publish error message mean?

AndroidGoogle Play

Android Problem Overview


I'm trying to publish a new version of my Android app to Google Play and get the following error?

> This configuration cannot be published for the following reason(s): > Version 1 is not served to any device configuration: all devices that might receive version 1 would receive version 4

I don't understand it. What does it mean?

enter image description here

Android Solutions


Solution 1 - Android

This happened to me when I published two APKs (versions 3 and then 4) in a short space of time. Clicking "Deactivate" on the dropdown next to version 3 appeared to fix it.

My guess is that this is a very-poorly-worded error message meaning something like "your original APK hasn't been published to all the update servers yet, so some of them may miss that version entirely". But it's a bit of a guess.

Solution 2 - Android

For some reason when you upload a new APK without immediately clicking "publish" (you probably clicked save draft the first time), Google thinks you want to publish BOTH apk at the same time.

This is usually needed when you have multiple APK for different configuration (say: a version for android 2.x and another for 3+ or a version for tablet and another for handset etc...)

However in your case you are just uploading an upgrade and you want it to replace your previous APK.

To solve:

  1. Click on the Switch to Advanced Mode on the top right
  2. Click on Action -> Move on the OLD APK and choose "Deactivate"
  3. The error should go away and you should see your OLD apk in "OTHER APKS" and the new one ready to be published.
  4. Just click Publish to make your change effective and wait for them to propagate.

The Google warning is missleading. Hope this clarify it.

Solution 3 - Android

I have solved the same problem with my app. I must upload from version 1.0 to the version 2.0.

  • I have uploaded the v2.0 in Beta.
  • When it was uploaded, I have DEACTIVATED the v1.0 in the PROD.
  • Next step was to MOVE the v2.0 to PROD from the BETA.
  • Then, the PUBLISH button was activated to finish the process. I hope it helps.!

Solution 4 - Android

The solution of @Chris is right. But what the message really means is:

  1. version1 and version4 has the same configuration: same API level, same screen resolution... bascially everything in manifest...

  2. So this means any device can install version can install version4, too.

  3. Now everything is clear: since version4 has higher versionCode, every devices will recieve the version4 instead version1.

There's no meaning still put version1 "in production" anymore. Under no circumstance any device would recieve this version. So you should "deactivate" it.

Solution 5 - Android

This may be a hack, but you can workaround this by doing staged rollout to 1-50%, then increase it to 100%.

This case the error message does not prevent publishing your app and also you don't have to deactivate anything.

Solution 6 - Android

This is purely a guess but do you have a previous version uploaded? If so it might be that it's marketcode is set to something higher than your new build e.g. 4

Solution 7 - Android

I had a similar problem, but because my previous version had a lower maximum andorid api, I was not allowed to revert to previous version.

In the end for me it was a problem wit eclipse that was not saving the change to the manifext file. I restarted eclipse, saved my project, made an apk and then it worked. Maybe worth a try if the above answers fail.

Solution 8 - Android

I just switched to the basic view. Which automatically replaces the current version with the new version immediately. That is of corse not suitable for every app deployment scenario. But should be all right in most (simple) cases.

Solution 9 - Android

You can only have one APK in production at a time. Before uploading you must deactivate the current one. The same goes for alpha and beta test APKs combined - you can only have one APK published for testing.

I agree the wording of the error message is appalling!

Solution 10 - Android

I had the same issue, but I executed following command on my APK file

jarsigner -verify -verbose -certs Myapp.apk

then I uploaded the new APK on the play store and it published easily.

Solution 11 - Android

I guess the console is telling your that u have two versions supporting the same devices so there is no reason to be using both

solution: remove the older one...
OR
if ur older version supports specific devices, mark that and the console will accept it

Solution 12 - Android

I also received that problem when I uploaded the APK at the first time but I noticed that API level 18-17 when viewing APK details. Therefore, I added this code to AndroidManifest.xml to specify the maximum API level

<uses-sdk android:minSdkVersion="18"
        android:targetSdkVersion="23"
        android:maxSdkVersion="23" />

After doing this, the problem is solved :)

Solution 13 - Android

in my case an older version of apk was published in beta testing. while i was trying to update my app over already published app with new apk.

just moved my new apk to beta testing and unpublished the old apk from beta testing.

and then finally moved the new apk from beta to prod.

Solution 14 - Android

I had the same problem i just DEACTIVATE the old apk which was currently active and then upload new apk. IT SOLVED my Problem

Solution 15 - Android

To resolve the issue, do the following:

  1. delete the new apk that is in the draft mode
  2. clear the history cach of the browser or use other browser and re-upload the apk

Solution 16 - Android

I had the same issue, but I resolved by Block Lint Errors.

See the Lint Error page, right corner packager icon, click there and block package. When you click for leaving lint error, the application make export singed application package.

enter image description here

Solution 17 - Android

it happened to me, when I published new APK, but accidentally closed browser window without finishing submission.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionNilzorView Question on Stackoverflow
Solution 1 - AndroidChris RaeView Answer on Stackoverflow
Solution 2 - AndroidDaniele SegatoView Answer on Stackoverflow
Solution 3 - Androiduser2684170View Answer on Stackoverflow
Solution 4 - AndroidFmyView Answer on Stackoverflow
Solution 5 - AndroidMarcellView Answer on Stackoverflow
Solution 6 - AndroidScouseChrisView Answer on Stackoverflow
Solution 7 - AndroidMark GilchristView Answer on Stackoverflow
Solution 8 - Androidj7nn7kView Answer on Stackoverflow
Solution 9 - AndroidJ.ChurchillView Answer on Stackoverflow
Solution 10 - AndroidrajkirpalsinjView Answer on Stackoverflow
Solution 11 - AndroidSoliQuiDView Answer on Stackoverflow
Solution 12 - AndroidKanda Runapongsa SaikaewView Answer on Stackoverflow
Solution 13 - AndroidSumit JoshiView Answer on Stackoverflow
Solution 14 - AndroidPir Fahim ShahView Answer on Stackoverflow
Solution 15 - AndroidRobertView Answer on Stackoverflow
Solution 16 - AndroidVijay MauryaView Answer on Stackoverflow
Solution 17 - AndroidMarius IntegratorView Answer on Stackoverflow