title: How to create local.properties for android project in jenkins?
body: <p>We have an android project for an application, it builds without any error on our local machines. Recently had to configure jenkins for the same. </p>
  
  <p>Every time we run the job the <code>BUILD FAILED</code>. Looking for the solution to the error we got to know that the <code>local.properties</code> is missing in the jenkins jobs workspace of our project. </p>
  
  <p>Usually this file is created locally by Android Studio. Is there any way to get this done using gradle commands or code changes?
  For our jenkins <code>sdk.dir = "/var/lib/jenkins/tools/android-sdk"</code></p>
  
  <p>Thanks</p>