當前位置:
首頁 >
Android --- Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not resolve com.a
發布時間:2025/3/21
33
豆豆
生活随笔
收集整理的這篇文章主要介紹了
Android --- Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not resolve com.a
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
網上說了一堆要修改gradle.properties文件,注釋掉后四行,如果沒有這個文件呢?如果沒有設置代理呢?你可以常識一下方法
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是你原本的版本就可以
總結
以上是生活随笔為你收集整理的Android --- Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not resolve com.a的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Android --- Add Goog
- 下一篇: Android --- This pro