Forum Xamarin.Forms

You uploaded an APK that is not zip aligned. You will need to run a zip align tool on your APK

JassimRahmaJassimRahma USMember ✭✭✭✭

Hi,

Why I am starting to see this error:

**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
**
when I try to archive an Android package?

I contacted Google and they told me it's nothing to do with the certificate..

Thanks,
Jassim

Answers

  • JassimRahmaJassimRahma USMember ✭✭✭✭

    I already tried:

    zipalign.exe -v -p 4 C:\Temp\zipalign\com.jafaria.app.apk C:\Temp\zipalign\com.jafaria.app-aligned.apk

    but when I upload the com.jafaria.app-aligned.apk I get:

    You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR: JAR_SIG_NO_MANIFEST: Missing META-INF/MANIFEST.MF

  • jezhjezh Member, Xamarin Team Xamurai

    Have you followed the offcial document to release a apk ?

  • JassimRahmaJassimRahma USMember ✭✭✭✭

    Yes of course and I am getting the API but my problem comes when I upload the APK

  • jezhjezh Member, Xamarin Team Xamurai

    Sorry so late to reply, have you resolved this question?

  • orassrorassr USMember ✭✭

    Hi, having the same issue with, I need to push a new build to existing app on the Google Play store, when I try to upload my myapp.apk I'm getting the same error: "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."

Sign In or Register to comment.