Unable to resolve dependency for ':app@debug/compileClasspath' could not resolve com.android
Posted yangbinchina
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Unable to resolve dependency for ':app@debug/compileClasspath' could not resolve com.android相关的知识,希望对你有一定的参考价值。
使用androidStudio3.2报这个错
配置
解决方法
1)去掉代理
2)项目的gradle设定
3)设定项目的gradle-wrapper.properties的distributionUrl=https\\://services.gradle.org/distributions/gradle-4.6-all.zip,如果项目更新不下来gradle-4.6-all.zip,就去掉http后面的“S”
4)设置项目build.gradle的为
classpath ‘com.android.tools.build:gradle:3.2.0‘
maven
url "https://maven.google.com"
5)同步一下
6)最后运行结果
以上是关于Unable to resolve dependency for ':app@debug/compileClasspath' could not resolve com.android的主要内容,如果未能解决你的问题,请参考以下文章
ERESOLVE unable to resolve dependency tree
Android Studio 3.0——unable to resolve dependency for cordovalib
Unable to resolve dependency for xxx, Could not resolve project
Unable to resolve dependency tree error when installing npm packages
解决Vue项目: verbose stack Error: unable to resolve dependency tree
npm install 报错:verbose stack Error: unable to resolve dependency tree