title: Make apk file with ant
body: <p>I want to export signed apk file from my Android Project with a terminal command line in my mac.</p>
  
  <p>first of all i understand i need to make a build.xml file and i do it with :</p>
  
  <pre><code>./android update project -p MY_PROJECT_FOLDER
  </code></pre>
  
  <p>then the build.xml file was create and i this command:</p>
  
  <pre><code>ant release
  </code></pre>
  
  <p>then there was 3 apk files in the bin directory, i moved the file : <code>MyProject-release.apk</code>
  to my android device, and when i try to run it it give me an error.</p>
  
  <p>some stuff i found : </p>
  
  <ol>
  <li>if i run the project from eclipse it run on the device with out any problem.</li>
  <li>if i use android tools in eclipse to make signed apk file, it run without problem.</li>
  <li>if i run it from eclipse the apk in the device is bigger than the apk i make from the command line.</li>
  </ol>