Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Zipaligned apk

Discussion in 'Android' started by mfgage, Jul 15, 2021.

  1. mfgage

    mfgage

    Joined:
    Jun 4, 2013
    Posts:
    24
    I keep getting rejected from google play because it says my apk is not Zipaligned. I've heard that this 'zipalign -v 4 infile outfile' only works to align the apk if it is not signed. I'm allowing Unity to do the signing so I tried another tool jarsigner, but this seems to invalidate my signing.

    Really, I just want to obviously do something super simple: Upload the apk. At this point I wish I didn't even have to sign it. Looking for any path of less resistance if someone can help me out?

    Thanks!
     
  2. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
  3. mfgage

    mfgage

    Joined:
    Jun 4, 2013
    Posts:
    24
    I wasn't doing post processing. I figured it out: I needed to add the extension file (which was huge) to the apk after the apk uploaded and then it was fine. I tried to add them all at the same time before which I guess caused the issue. Thanks for the reply :)