当我导入一个项目时,发生了这种情况。我不知道如何解决它。
这是控制台输出:
Error:Could not resolve all dependencies for configuration':app:sampleDebugRuntimeClasspath'.
Could not determine artifacts for com.android.support:support-vectordrawable:25.4.0
Could not get resource'https://dl.google.com/dl/android/maven2/com/android/support/suppt-
vector-drawable/25.4.0/support-vector-drawable-25.4.0.aar'.
Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/support/support-
vector-drawable/25.4.0/support-vector-drawable-25.4.0.aar'.
Connect to 127.0.0.1:1080 [/127.0.0.1] failed: Connection refused
Connection refused