Android --- Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not resolve com.a
生活随笔
收集整理的這篇文章主要介紹了
Android --- Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not resolve com.a
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
網(wǎng)上說了一堆要修改gradle.properties文件,注釋掉后四行,如果沒有這個(gè)文件呢?如果沒有設(shè)置代理呢?你可以常識(shí)一下方法
buildscript {repositories {maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}maven { url 'https://maven.aliyun.com/repository/google' }//jcenter()//google()}dependencies {classpath 'com.android.tools.build:gradle:3.4.2'// NOTE: Do not place your application dependencies here; they belong// in the individual module build.gradle files} }allprojects {repositories {//google()//jcenter()maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}maven { url 'https://maven.aliyun.com/repository/google' }} }注:gradle是你原本的版本就可以
總結(jié)
以上是生活随笔為你收集整理的Android --- Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not resolve com.a的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Android --- Add Goog
- 下一篇: 数据结构-直接插入排序讲解(C语言)