android Studio 出现:Unable to resolve dependency for ':app@debug/compileClasspath'
1、把Offline work 前的√去掉,不要选中(不选中则表明不用离线资源)
2、打开Service directory path 对应的路径,找到文件gradle.properties打开。
3、将这些代理注释(应该是在下载资源时使用了这些代理服务器,但是代理又用不了)。
4、重新Sync同步一下。
如果出现Could not find any matches for xxx as no versions
试着把systemProp.https.nonProxyHosts=mirrors.neusoft.edu.cn取消注释(不适用代理时的默认域名)