Android Studio stuck when creating new Project on Gradle: Configure Project or Gradle: Resolve Dependencies ':classpath:'

android, android-studio, gradle

Solution

Bintray has experienced momentary timeouts yesterday due to a change to one of the cluster nodes in Dallas. It looks like you've happened to hit that exact node at that exact time.

The issue has been sorted out after a couple of minutes, so there is no real need to change anything on your side.

Actually, keeping `jcenter()` in your script is preferable since it's a super-set of Maven Central.

Problem

Using the new project wizard to create a new Android application, The IDE gets stuck before I can even see the Code files. After trying to create many types of projects, It tells me that it is building and the IDE only shows a Loading box that says either: ``` Gradle: Configure Project ``` or ``` Gradle: Resolve Dependencies ':classpath:' ``` I went out to lunch and when I came back I saw: Error:Could not HEAD 'http://jcenter.bintray.com/com/android/tools/build/builder-model/0.12.1/builder-model-0.12.1.jar'. Received status code 500 from server: Internal Server Error Enable Gradle 'offline mode' and sync project

Original source