Could not resolve all dependencies for configuration ':app:_googleplayDebugApkCopy'.

【转载请注明出处:From李诗雨—http://blog.csdn.net/cjm2484836553/article/details/78013272】

不诗意的女程序猿不是好厨师~

周末无聊,打开AS,准备撸几行代码压压惊。

【问题说明】 
本来一切正常的工程,在我刚写了几行代码,再次运行后,竟然出问题了: 

Error:A problem occurred configuring project ‘:app’. 
Could not resolve all dependencies for configuration ‘:app:_googleplayDebugApkCopy’. 
Could not resolve com.umeng.analytics:analytics:latest.integration. 
Required by: 
903_home_GDS_New:app:unspecified 
Could not resolve com.umeng.analytics:analytics:latest.integration. 
Failed to list versions for com.umeng.analytics:analytics. 
Unable to load Maven meta-data from https://jcenter.bintray.com/com/umeng/analytics/analytics/maven-metadata.xml. 
Could not GET ‘https://jcenter.bintray.com/com/umeng/analytics/analytics/maven-metadata.xml’. 
jcenter.bintray.com

【解决办法】 
解决办法简单粗暴:找到build.gradle文件, 
先把对应的依赖注释调,同步 
再把它打开,再同步 
问题解决 
这里写图片描述



积累点滴,做好自己~

你可能感兴趣的:(bug收纳盒)