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

前端 未结 4 624
时光说笑
时光说笑 2020-12-14 10:17

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

4条回答
  •  孤城傲影
    2020-12-14 11:06

    I was heaving the same/similar problem:

    Error:A problem occurred configuring root project 'X'. Could not resolve all dependencies for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:0.12.+. Required by: :X:unspecified Failed to list versions for com.android.tools.build:gradle. Could not list versions using M2 pattern 'http://jcenter.bintray.com/[organisation]/[module]/[revision]/[artifact]-revision.[ext]'. Could not GET 'http://jcenter.bintray.com/com/android/tools/build/gradle/'. Received status code 401 from server: Authorization Required

    But I resolved it by calling synchroise and then rebuilding the project.

提交回复
热议问题