title: Gradle gets stuck at either 'build' or 'assembleDebug' when using the 64bit or 32bit version of Android Studio
body: <p>The issue I've had over the past few months is that Android Studio would often get stuck on <code>Gradle: build</code>, as seen <a href="https://i.imgur.com/7PZA8mu.png" rel="noreferrer">here</a>. Android Studio itself would stay responsive but the build simply wouldn't progress. It also never generates any kind of error, so I can't really post any useful information. Once in a blue moon it might suddenly work, but nothing reliable. </p>
  
  <p>Recently I found a post here on Stack Overflow where someone's Android Studio would get stuck on <code>Gradle: build</code> when he tried to create a new project, and he noticed that this issue didn't exist in the 32-bit version of Android. So I thought, why not try that. Turns out that building isn't an issue anymore, but <code>assembleDebug</code> is, when trying to build the application. As can be seen <a href="https://i.imgur.com/5QzpTGf.png" rel="noreferrer">here</a>.</p>
  
  <p>Of course all these commands work flawlessly when run using command prompt and gradlew.</p>
  
  <p>What I've tried so far:</p>
  
  <ul>
  <li>Reinstalling Android Studio (including the removal of .AndroidStudioProject)</li>
  <li>Upgrading Android Studio to the latest version</li>
  <li>Removing any build files from projects</li>
  <li>Creating completely new projects in Android Studio</li>
  <li>Switching from 64-bit to 32-bit Android Studio</li>
  </ul>
  
  <p>I'm running the latest version of Android Studio, using version 19.1.0 of the build tools, gradle v0.11+ and am on Windows 8.1.</p>
  
  <p>Is there anything else I can try? This is starting to become seriously annoying. The last possible solution I can come up with is just doing a complete format and a fresh Windows installation.</p>