title: How to create apk file in command line?
body: <p>I was using eclipse ide to build apk file . Now i want to create apk file in command line in linux.
  But when i say ant debug it gives following error : </p>
  
  <pre><code>Unable to obtain resource from anttasks.jar
    java.util.zip.ZipException : error in opening zip file
  
  Problem : failed to create task or type checkenv 
  Cause : The name is undefined 
  Action : Check the spelling
  Action : Check that any custom tasks/types have been declared
  Action : Check that any &lt;presetdef&gt;/&lt;macrodef&gt; declarations have taken place
  </code></pre>
  
  <p>I have ant version 1.9.2 . and android version 17.
  I have build.xml file .</p>
  
  <p>Edit : I changed my ant version into 1.8.0 , But whatever i do still i am getting those failed to create task or type checkenv error . </p>