将React Native版本从0.63.3升级到最新版本后,我遇到了以下错误:
> Could not resolve all files for configuration ':classpath'.
> Could not find com.facebook.react:react-native-gradle-plugin:.
Required by:
project :
以下是我build.gradle文件中的依赖关系:
dependencies {
classpath("com.android.tools.build:gradle:7.0.4")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:4.1.2")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
有人能够向我解释这个吗?如果你能帮忙,那将不胜感激!