title: Jenkins And android Build
body: <p>I am trying to automate the android build process using Jenkins</p>
  
  <p>I am using the following site to achieve this 
  <a href="http://androiddevresources.com/blog/2012/04/01/building-an-android-app-with-jenkins/" rel="noreferrer">Link to site</a></p>
  
  <p>I am successfully able to Build it on my own machine. Initially i got error saying that build.xml file not found (build using ant requires this file). So i execute "android update project". So it automatically generate all necessary file for ant.</p>
  
  <p>Now my problem begins when i tried to host my repo to remote server and tried to build from another machine. The error it is giving is the sdk.dir is not correct. When i analysed the project folder ther is a file called local.properties which contains the SDK path of my first machine which is wrong for other machines. So i add that file to gitignore. Now that file is not tracking and because of this the build is failing.</p>
  
  <p>So is there any way to automatically generate the files that is necessary for ant after jenkins is cloning project from the remote repo?</p>