Bug 59810 - Generate one package per abi + archive manager: unable to upload to Google Play
Summary: Generate one package per abi + archive manager: unable to upload to Google Play
Status: CONFIRMED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 4.7.0 (15.4)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-09-28 08:16 UTC by softlion
Modified: 2017-12-22 22:04 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 59810 on Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:
Status:
CONFIRMED

Description softlion 2017-09-28 08:16:02 UTC
When trying to upload to Google Play an archive from the archive manager window,
if "Generate one package per seleted abi" was checked in the android project properties,
the xamarin tooling uploads the 4 apks (one per abi) then tries to upload an apk containing all abis.

This last apk is, of course, refused by Google Play, and the track is not updated correctly.



An error occur uploading 'com.xx.xx.apk': Version 9 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes. [403]

Log:

Publishing to GooglePlay...
Signing packages...
Detecting signing algorithm...
Detected signing algorithm as : RSA
Signing additional ABI packages...
Saving state back to archive
Preparing to upload apk(s)
Authorising...
Uploading 420613632 ...
Uploading C:\Users\xx\AppData\Local\Xamarin\Mono for Android\Archives\2017-09-27\xx.Droid 9-27-17 5.34 PM.apkarchive\signed-apks\com.xx.xx-arm64-v8a.apk ...
Inspecting manifest for version information...
Uploading 'C:\Users\xx\AppData\Local\Xamarin\Mono for Android\Archives\2017-09-27\xx.Droid 9-27-17 5.34 PM.apkarchive\signed-apks\com.xx.xx-arm64-v8a.apk' to Google Play, Track: 'Alpha', Rollout: '0', Version Code: '262153'...
Creating 'Edit' - packageName com.xx.xx
Validating apk versions already in Google Play...
Finding track to update...
Found Track .
Uploading package...
Changing default chunksize to 1048576.
Uploading package 0%...
Uploading package 4%...
Uploading package 9%...
...
Upload status: Completed.
Updating track ...
Committing Edit...
Uploaded com.xx.xx-arm64-v8a.apk
Uploading C:\Users\xx\AppData\Local\Xamarin\Mono for Android\Archives\2017-09-27\xx.Droid 9-27-17 5.34 PM.apkarchive\signed-apks\com.xx.xx-armeabi-v7a.apk ...
Inspecting manifest for version information...
Uploading 'C:\Users\xx\AppData\Local\Xamarin\Mono for Android\Archives\2017-09-27\xx.Droid 9-27-17 5.34 PM.apkarchive\signed-apks\com.xx.xx-armeabi-v7a.apk' to Google Play, Track: 'Alpha', Rollout: '0', Version Code: '131081'...
Creating 'Edit' - packageName com.xx.xx
Validating apk versions already in Google Play...
Finding track to update...
Found Track .
Uploading package...
Changing default chunksize to 1048576.
Uploading package 0%...
Uploading package 4%...
Upload status: Completed.
Updating track ...
Committing Edit...

(another 2 uploads)
xx-x86.apk
xx-x86_64.apk


Uploaded com.cosmoconnected.cosmoconnected-x86_64.apk
Uploading C:\Users\xx\AppData\Local\Xamarin\Mono for Android\Archives\2017-09-27\xx.Droid 9-27-17 5.34 PM.apkarchive\signed-apks\com.xx.xx.apk ...
Inspecting manifest for version information...
Uploading 'C:\Users\xx\AppData\Local\Xamarin\Mono for Android\Archives\2017-09-27\xx.Droid 9-27-17 5.34 PM.apkarchive\signed-apks\com.xx.xx.apk' to Google Play, Track: 'Alpha', Rollout: '0', Version Code: '9'...
Creating 'Edit' - packageName com.xx.xx
Validating apk versions already in Google Play...
Finding track to update...
Found Track .
Uploading package...
Changing default chunksize to 1048576.
Uploading package 0%...
...
Uploading package 100%...
Upload status: Completed.
Updating track ...
Committing Edit...
Publishing project 'xx' completed with errors.
An error occur uploading 'com.xx.xx.apk': Version 9 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes. [403]
Comment 1 Jimmy [MSFT] 2017-09-28 16:35:29 UTC
This is still happening with XVS 4.7.0.1001 in the VS 15.4 Preview 3 release. This is related to but a slightly different issue than bug 59612.
Comment 2 softlion 2017-10-18 11:37:33 UTC
bug 59612 is private.
I confirm that there is no new fixed behavior in 15.4, still the same issue.
Comment 3 softlion 2017-12-22 22:04:44 UTC
I confirm that there is no new fixed behavior in 15.5, still the same issue.

+ another issue: VS is now unable to upload correctly the 4 other packages, rendering the publish feature completly useless as you need to upload each package again manually.