AndroidStudio编译提示Could not find com.android.tools.lintlint-gradle26.1.3问题的解决

打开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

 

猜你喜欢

转载自blog.csdn.net/loongembedded/article/details/81165839
今日推荐