今天加了一个maven仓库,然后再编译的时候,报错:
ERROR: Unable to resolve dependency for ':app@playDebug/compileClasspath': Could not resolve com.android.support:support-v4:[22,23).
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@playDebugAndroidTest/compileClasspath': Could not resolve com.android.support:support-v4:[22,23).
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@playDebugUnitTest/compileClasspath': Could not resolve com.android.support:support-v4:[22,23).
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@playRelease/compileClasspath': Could not resolve com.android.support:support-v4:[22,23).
Show Details
Affected Modules: app
查了资料都说是因为as开了代理。仔细检查了,setting->System Settings->HTTP Proxy