Could not find com.android.tools.lint:lint-gradle Android Studio 3

后端 未结 12 1665
青春惊慌失措
青春惊慌失措 2020-12-02 16:12

I have updated Android Studio to 3.0 and now received a lot of issues.. now stoped on point with such issue:

Could not resolve all files for configuration \'         


        
12条回答
  •  没有蜡笔的小新
    2020-12-02 16:52

    I have changed my current gradle version(3.3.2 to 3.2.1) from the global build.gradle file.

    buildscript {
     repositories {
        google()
        jcenter()
        maven { url 'https://maven.google.com' }
     }
    
     dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
     }
    }
    
    allprojects {
     repositories {
        google()
        jcenter()
        maven { url 'https://maven.google.com' }
     }
    }
    

    then click on sync gradle button on the top right corner of the screen.

提交回复
热议问题