Page 1 of 3
APK that is not zip aligned
Posted: Wed Jul 10, 2013 7:25 pm
by SteveLacy
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
APK that is not zip aligned
Posted: Wed Jul 10, 2013 7:28 pm
by Maryna Brodina
Hello! zipalign utility required by Google. Please take a look here for more information http://developer.android.com/tools/he...
APK that is not zip aligned
Posted: Thu Sep 12, 2013 10:01 pm
by Asif
Hi Mariina
Can you please tell me how to use this zipalign tool and from where will i get this tool.
APK that is not zip aligned
Posted: Thu Sep 12, 2013 11:16 pm
by Illya Stepanov
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
APK that is not zip aligned
Posted: Tue Nov 05, 2013 3:12 pm
by michaeldanwild
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
APK that is not zip aligned
Posted: Tue Nov 05, 2013 4:05 pm
by Kateryna Grynko
Hi Dan,
Did you try the action recommended above?
APK that is not zip aligned
Posted: Tue Nov 05, 2013 4:24 pm
by michaeldanwild
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
APK that is not zip aligned
Posted: Tue Nov 05, 2013 10:32 pm
by Igor
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.
APK that is not zip aligned
Posted: Sat Nov 09, 2013 11:27 am
by michaeldanwild
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$
APK that is not zip aligned
Posted: Sat Nov 09, 2013 3:55 pm
by Igor
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.