title: Gradle build takes a long time to complete in Android Studio
body: <p>I'm facing an issue in Android Studio, whenever I create a new project the Gradle Build or Sync takes hours to get completed. </p>
  
  <p>Also if I close the project and reopen it, the Gradle sync takes a long time for the same project for which the build was successful initially.</p>
  
  <p>My system config -</p>
  
  <ul>
  <li>1 TB Hard Disk </li>
  <li>16 GB Ram </li>
  <li>64 bit Windows 7 Professional</li>
  </ul>
  
  <p>Tried <a href="https://stackoverflow.com/questions/29391421/android-studio-gradle-takes-too-long-to-build">this</a> and <a href="https://stackoverflow.com/questions/24758499/gradle-take-too-much-to-build/27171878#27171878">this as well</a>, but still the build takes a very long time to complete.</p>
  
  <p>Can someone please explain to me the reason for this and also please let me know how to improve the performance of it.</p>