Zipalign

7 posts, 0 answers
  1. Javier
    Javier avatar
    4 posts
    Member since:
    Aug 2012

    Posted 11 Dec 2012 Link to this post

    I just finished my app and I was about to publish it in the store. But when I uploaded the apk it says taht I need to zipalign the apk

    Any suggestions?
  2. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 11 Dec 2012 Link to this post

    Javier,

    I think you can ignore that. At least, I can't remember that I zipaligned my apk's before uploading them to Google Play.

    Here is something to read about zipalign:http://developer.android.com/tools/help/zipalign.html
  3. Javier
    Javier avatar
    4 posts
    Member since:
    Aug 2012

    Posted 11 Dec 2012 Link to this post

    Thank you,I just zipaligned my app. In the new version of the google developers console its necessary to zipalign the app, in the old version of the google developers console thats not necessary, but well I  did it manually

    But thanks for your answer =)
  4. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 14 Dec 2012 Link to this post

    Hi  Javier,

    As JD has said you can ship your application without zipaligning it. It is supposed to increase the performance of your application if it has a lot of uncompressed resources. (Uncompressed audio for example or plain text files). 

    If you want to zipalign it,  I have included the command line utility that is used for the job. Simply write in command line "zipalign 4 <<name of apk>>.apk zip_aligned.apk". There will be zip_aligned.apk file in the folder where you have run the command.

    We also are going to add a story in our backlog for this feature. Seems that people will prefer to have their google play apks zipaligned.
     

    Greetings,
    Evgeni "Zammy" Petrov
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  5. Javier
    Javier avatar
    4 posts
    Member since:
    Aug 2012

    Posted 14 Dec 2012 Link to this post

    Thank for your reply. I just uploaded the app zipaligned :)
  6. Dan
    Dan avatar
    26 posts
    Member since:
    Jan 2013

    Posted 14 Jan 2013 Link to this post

    zipalign.exe opens for just a split second then closes.. I have tried right click and run as administrator ..still wont stay open. 
  7. Jordan
    Admin
    Jordan avatar
    197 posts

    Posted 15 Jan 2013 Link to this post

    Hello Javier,

    you have to run zipalign.exe from command line with parameters not to start it.

    Like this:

    Kind regards,
    Jordan
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
Back to Top