title: Ant failed to build on Ubuntu
body: <p>I hope someone can help me out with this problem. I am using an Ant Build to compile my java code but I get the following errors: </p>
  
  <pre><code>Buildfile: &lt;PATH&gt;
  
  BUILD FAILED
  &lt;PATH&gt;build.xml:55: sdk.dir is missing. Make sure 
      to generate local.properties using 'android update project' or to inject it
      through the ANDROID_HOME environment variable.
  
  Total time: 345 milliseconds
  </code></pre>
  
  <p>I am using eclipse. </p>