title: zipalign: command not found - Ubuntu
body: <p>I am trying to zipalign an "input.apk" file on an Ubuntu 14.04 LTS system using the command line as I do not have access to the source code just yet. If I'm not mistaken I should  be able to do this with the following command</p>
  
  <pre><code>zipalign [-f] [-v] 4 intput.apk output.apk
  </code></pre>
  
  <p>but I am getting the following output</p>
  
  <pre><code>zipalign: command not found
  </code></pre>
  
  <p>I have made sure that the zipalign file is in my ...sdk/tools directory which I had to copy over from my ...build-tools/android-4.4W folder because it was originally missing. When I input this line as suggested in another question</p>
  
  <pre><code>./zipalign [-f] [-v] 4 intput.apk output.apk
  </code></pre>
  
  <p>I get the following output</p>
  
  <pre><code>Zip alignment utility
  Copyright (C) 2009 The Android Open Source Project
  
  Usage: zipalign [-f] [-v] &lt;align&gt; infile.zip outfile.zip
         zipalign -c [-v] &lt;align&gt; infile.zip
  
     &lt;align&gt;: alignment in bytes, e.g. '4' provides 32-bit alignment
     -c: check alignment only (does not modify file)
     -f: overwrite existing outfile.zip
     -v: verbose output
  </code></pre>
  
  <p>Does this mean that I need a .zip file instead of my .apk to zipalign?</p>