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

后端 未结 12 1644
青春惊慌失措
青春惊慌失措 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

    If you're running lint on a project that you created using an older version of Android Studio, you may encounter this error.

    To resolve this issue, for each project that you would like to run lint on, include Google's Maven repository in the top-level build.gradle file, as shown below:

    allprojects {
        repositories {
            // The order in which you list these repositories matter.
            google()
            jcenter()
        }
    }
    

提交回复
热议问题