- Error:Could not resolve all depe
- Error:Could not resolve all file
- gradle出现编译问题Error:Could not reso
- Could not resolve com.android.su
- Could not resolve all dependenci
- gradle could not resolve all dep
- Could not resolve all dependenci
- AndroidStudio 彻底关闭http网络代理方法( Co
- 【Android】安卓运行问题
- Ionic build android erro、(Could
在项目的build.gradle 的buildscript 和 allprojects同时加上了 mavenCentral() google() 即可
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
网友评论