Плагин [id: 'com.facebook.react.settings'] не найден ни в одном из следующих источников:
Вот мой файл settings.gradle
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
def rnPath = ["node", "--print",
"require.resolve('@react-native/gradle-plugin/package.json')"
].execute(null, rootDir).text.trim()
if (rnPath && rnPath != "null") {
includeBuild(new File(rnPath).getParentFile())
} else {
println("
}
def expoPath = ["node", "--print",
"require.resolve('expo-modules-autolinking/android/expo-gradle-plugin/package.json')"
].execute(null, rootDir).text.trim()
if (expoPath && expoPath != "null") {
includeBuild(new File(expoPath).getParentFile())
} else {
println("
}
}
plugins {
id("com.facebook.react.settings")
id("expo-autolinking-settings")
}
rootProject.name = "test"
include(":app")
project(":app").projectDir = new File(rootDir, "app")
Подробнее здесь: https://stackoverflow.com/questions/798 ... al-machine
Мобильная версия