How do I zipalign my signed apk?

573 Views Asked by At

I got the below output when i tried to zipalign my signed apk using the command:

zipalign -v 4 C:\Program Files\Android\Android Studio\jre\bin\Focus.apk C:\Program Files\Android\Android Studio\jre\bin\Focus-zipaligned.apk Command Prompt

Here, I don't see anything that says zipalignment was performed successfully. Please help me zipalign my signed apk file. Thanks in advance!

1

There are 1 best solutions below

0
On

I found a solution to the problem. All I had to do was, put my apk paths in quotes since some folders had spaces. Thanks to @FredrikWiderberg for the suggestion.