解决 Android Studio 之Cause: dl.google.com:443 failed to respond

FAILURE: Build failed with an exception.

 

* What went wrong:

A problem occurred configuring root project 'luck'.

> Could not resolve all files for configuration ':classpath'.

   > Could not resolve com.android.tools.build:gradle:3.1.2.

     Required by:

         project :

      > Could not resolve com.android.tools.build:gradle:3.1.2.

         > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.2/gradle-3.1.2.pom'.

            > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.2/gradle-3.1.2.pom'.

               > dl.google.com:443 failed to respond

      > Could not resolve com.android.tools.build:gradle:3.1.2.

         > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.2/gradle-3.1.2.pom'.

            > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.2/gradle-3.1.2.pom'.

               > jcenter.bintray.com:443 failed to respond

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

 

* Get more help at https://help.gradle.org

 

CONFIGURE FAILED in 0s

Cause: dl.google.com:443 failed to respond

 

开启此选项, 选择再同步即可

解决 Android Studio 之Cause: dl.google.com:443 failed to respond_第1张图片

你可能感兴趣的:(解决 Android Studio 之Cause: dl.google.com:443 failed to respond)