Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

When publishing for Android, how to avoid Upload failed You uploaded an APK that is not zip aligned?

$
0
0

When uploading an APK using Google Play Developer Console, I am getting the following error:

"UPLOAD NEW APK TO ALPHA
Upload failed
You uploaded an APK that is not zip aligned. You will need to run a zip align tool on your APK and upload it again."

Whilst I'm sure I could work out how to fix this using Java SDK tools, I'm curious as to why it is happening. Subject to having to skip bits like Dobfuscator as they're too expensive for me, I'm pretty confident that I followed the instructions at
https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/
correctly, using Visual Studio 2015.

(if I deliver the APK to a device directly and install it, it works fine - Google Play Developer Console clearly checks some extra bits).

Any thoughts as to how to tweak configuration to make this work smoothly would be much appreciated :-)


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>