 <p>I am using Windows with git bash/command promt</p> <p>zipalign.exe needed to be configured in environment variables.</p> <p>so include sdk folder 'build-tool' with android version folder you are using to build.</p> <pre><code>e.g. E:\android-sdk\build-tools\22.0.1 </code></pre> <p>it should contain 'zipalign.exe'. now you can user</p> <pre><code>zipalign -v 4 Project1.apk Project1-aligned.apk </code></pre> <p>from any location using command line tools.</p> <p>thumb up for me so i can help more developers.</p>