Q:Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not resolve com.android.support:appcompat-v7:2
A:修改如图,详情 Failed to resolve:com.android.support:appcompat-v7:报错处理 - CSDN博客
Q:Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not resolve com.android.support.constraint:constraint-layout:1.1.2.
A:由图可知将1.1.2改成1.0.2
Q:Unable to resolve dependency for ‘:app@debugAndroidTest/compileClasspath’: Could not resolve com.android.support.test.espresso:espresso-core:3.0.2
Unable to resolve dependency for ‘:app@debugAndroidTest/compileClasspath’: Could not resolve com.android.support.test?1.0.2.
…
A:全部注释