打开app同事留下的project,此project用到library,编译此module的时候提示Could not find com.android.tools.lintlint-gradle26.1.3
根据Android Studio文档,我们project的顶级build.gradle应该google()添加存储库。请务必将其添加到buildscript和allprojects下的repositories中,见下图红色部分
参考:
Android Studio Rebuild失败:Could not find com.android.tools.lint:lint-gradle:26.1.1.
https://blog.csdn.net/gxp1182893781/article/details/80312137