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

后端 未结 12 1672
青春惊慌失措
青春惊慌失措 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 17:10

    Another option is

    ./gradlew -x:app:lintVitalRelease assemble
    

    To quote Gradle Docs:

    Excluding tasks from execution

    You can exclude a task from being executed using the -x or --exclude-task command-line option and providing the name of the task to exclude.

    Reference: https://docs.gradle.org/current/userguide/command_line_interface.html#sec:excluding_tasks_from_the_command_line

    Archived link: http://archive.is/TsPPJ#sec:excluding_tasks_from_the_command_line

提交回复
热议问题