Код: Выделить всё
..........
buildscript {
apply from: "../node_modules/@dynatrace/react-native-plugin/files/plugin.gradle", to: buildscript
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 29
compileSdkVersion = 34
targetSdkVersion = 34
}
repositories {
google()
jcenter()
}
dependencies {
classpath('com.google.gms:google-services:4.3.15')
classpath('com.android.tools.build:gradle:7.4.2')
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
......
Код: Выделить всё
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Примечание. Решение найдено здесь:
https://github.com/react-native-community/ update-support/issues/38
в соответствии с приведенным выше решением мне нужно запустить этот пакет npx-react-native --platform android --dev false --entry-file index.js --bundle-output android/app/ src/main/assets/index.android.bundle для создания файла пакета вручную.
Меня беспокоит то, почему он не создается автоматически, как раньше, он создавался с помощью Gradle версии 7.0.4.
Пожалуйста, помогите разобраться в основной причине этой проблемы.
Подробнее здесь: https://stackoverflow.com/questions/782 ... ed-in-asse