SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

APK that is not zip aligned

I made some updates to my app and exported the Android binary for this next version. When I went to upload the .apk within the Google Developer console, the file uploaded then presented a dialogue that says "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.".

Are the exports not working for the Google export?

Please help.

Thanks,

Steve Lacy

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

APK that is not zip aligned

Hello! zipalign utility required by Google. Please take a look here for more information http://developer.android.com/tools/he...

Asif
Posts: 0
Joined: Tue Aug 13, 2013 12:56 pm

APK that is not zip aligned

Hi Mariina
Can you please tell me how to use this zipalign tool and from where will i get this tool.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

APK that is not zip aligned

Hi -- The zipalign tool is provided with the Android SDK, inside the tools/ directory. To align your signed APK, execute:
code
$ zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
/code

michaeldanwild
Posts: 0
Joined: Sun Aug 11, 2013 4:11 pm

APK that is not zip aligned

I'm a novice and have been trying for days to get my apk files zip aligned. Google are unwilling to give a simple explanation despite it being a mandatory requirement. I have made a couple of Appery .io apps which download onto my phone and tablet, from my website, but are not acceptable to Playstore
Is there a kind soul out there who can write an idiots guide to zip aligning?
Thanks
Dan

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

APK that is not zip aligned

Hi Dan,

Did you try the action recommended above?

michaeldanwild
Posts: 0
Joined: Sun Aug 11, 2013 4:11 pm

APK that is not zip aligned

Good afternoon Katya
Thanks for the quick response.
I tried to follow the instructions in Google and got this far. Does this help you to suggest a way forward?
Dan
Image

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

APK that is not zip aligned

Hello Dan,

Please try to use zipalign in the next format:

pre
zipalign -f -v 4 file1.apk file2.apk
/pre
file1.apk - apk file which you exported from appery.io.
file2.apk - output file for Playstore.

Next link will be helpful: http://developer.android.com/tools/he...

Let us know about results.

michaeldanwild
Posts: 0
Joined: Sun Aug 11, 2013 4:11 pm

APK that is not zip aligned

Good morning Igor,
Still no joy. Any idea on what I'm doing wrong?
Dan
copy of command terminal:
Last login: Sat Nov 9 10:54:56 on ttys000
dan-wilds-imac:~ danwild$ /Users/danwild/Dropbox/App\ Development/adt-bundle-mac-x86_64-20130917/sdk/tools/Ashtav_T-1.1.apk zipalign -f -v 4 Ashtav_T-1.1.apk Ashtav_T-1.1z.apk
-bash: /Users/danwild/Dropbox/App Development/adt-bundle-mac-x86_64-20130917/sdk/tools/Ashtav_T-1.1.apk: Permission denied
dan-wilds-imac:~ danwild$

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

APK that is not zip aligned

Hello Dan,

Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. Instruction how to share your app: http://docs.appery.io/documentation/s...
We'll export .apk file from your app, zipalign it and will send .apk file to you.

Return to “Issues”