使用Android Studio开发react native项目时遇见以下报错,轮番查找仍旧无法解决!
Could not resolve all files for configuration ':classpath'.
> Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar
以下为突发奇想解决思路:
根目录>android>build.gradle;
编辑这个文件
注意表明的顺序。切记!切记! 还有必须让自己可以正常FQ google下载相关依赖!重要!