title: Android build fails only in TeamCity server
body: <p>I am using TeamCity as my CI server.When I run a build for an android studio project it is failing.
   But when I open the cloned repository in Android Studio in the build server itself it gives a successful build. Please help me out..</p>
  
  <p><strong>EDIT::</strong></p>
  
  <p>When the checkout directory from TeamCity is opened in Android Studio it is also failing.So I guess the issue is with the checkout from TeamCIty.</p>