由于com.android.tools.lint,gradlew bundleRelease失败

由于com.android.tools.lint,gradlew bundleRelease失败,android,react-native,Android,React Native,我发布应用程序时遇到问题。当我使用gradlew bundleRelease时,我得到了这个错误 Could not resolve all files for configuration ':react-native-fs:lintClassPath'. > Could not find lint-gradle.jar (com.android.tools.lint:lint-gradle:26.1.4). Searched in the following locations:

我发布应用程序时遇到问题。当我使用
gradlew bundleRelease
时,我得到了这个错误

Could not resolve all files for configuration ':react-native-fs:lintClassPath'.
> Could not find lint-gradle.jar (com.android.tools.lint:lint-gradle:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-gradle/26.1.4/lint-gradle-26.1.4.jar
> Could not find lint.jar (com.android.tools.lint:lint:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint/26.1.4/lint-26.1.4.jar
> Could not find lint-checks.jar (com.android.tools.lint:lint-checks:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-checks/26.1.4/lint-checks-26.1.4.jar
> Could not find lint-api.jar (com.android.tools.lint:lint-api:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-api/26.1.4/lint-api-26.1.4.jar
> Could not find lint-kotlin.jar (com.android.tools.lint:lint-kotlin:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-kotlin/26.1.4/lint-kotlin-26.1.4.jar
> Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/intellij-core/26.1.4/intellij-core-26.1.4.jar
> Could not find uast.jar (com.android.tools.external.org-jetbrains:uast:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/external/org-jetbrains/uast/26.1.4/uast-26.1.4.jar
> Could not find kotlin-compiler.jar (com.android.tools.external.com-intellij:kotlin-compiler:26.1.4).
  Searched in the following locations:
      https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/kotlin-compiler/26.1.4/kotlin-compiler-26.1.4.jar
但在开发模式下,应用程序编译成功。 在
android/build.gradle
中,我在
jcenter()
之前使用了
google()
,但它不起作用,我也在
react native fs/android/build.gradle上试用了它。
我的依赖项类路径是:

        classpath 'com.android.tools.build:gradle:3.1.4'
        classpath 'com.google.gms:google-services:3.2.1'

这可能是因为在调试模式下没有lint检查,所以缓存中没有lint的依赖项。 我检查了你错误中的链接,它们对我很好。
如果您在受限制的国家/地区,使用VPN可能对您有效。

您是否支持VPN或阻止下载的东西\