io.invertase.gradle.build 版本:'1.5' 未找到,react-native
io.invertase.gradle.build version: '1.5' was not found, react-native
我有一个 react-native 项目,当我尝试 运行 项目
时出现以下错误
react-native run-android
或 cd adnroid > gradlew assembleDebug
每种情况我都会遇到该错误,
What went wrong: Plugin [id: 'io.invertase.gradle.build', version: '1.5'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (could not resolve plugin artifact 'io.invertase.gradle.build:io.invertase.gradle.build.gradle.plugin:1.5') Searched in the following repositories: Gradle Central Plugin Repository
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
我尝试了 node_modules
和 package-lock.json
删除和 re-install
所有模块,但我仍然遇到同样的问题。
我得到这个错误是因为 android 中的依赖包由于与代理相关的错误配置而无法加载,因为我的问题。配置后修复。
我有一个 react-native 项目,当我尝试 运行 项目
时出现以下错误react-native run-android
或 cd adnroid > gradlew assembleDebug
每种情况我都会遇到该错误,
What went wrong: Plugin [id: 'io.invertase.gradle.build', version: '1.5'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (could not resolve plugin artifact 'io.invertase.gradle.build:io.invertase.gradle.build.gradle.plugin:1.5') Searched in the following repositories: Gradle Central Plugin Repository
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
我尝试了 node_modules
和 package-lock.json
删除和 re-install
所有模块,但我仍然遇到同样的问题。
我得到这个错误是因为 android 中的依赖包由于与代理相关的错误配置而无法加载,因为我的问题。配置后修复。