}
apply plugin: "com.facebook.react.rootproject"
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
// ...
// Add the dependency for the Google services Gradle plugin
// id 'com.google.gms.google-services' version '4.4.1' apply false
e: file:///C:/Users/Jitesh/OneDrive/Desktop/gurujiastroapp/node_modules/@react-native/gradle-plugin/settings-plugin/src/main/kotlin/com/facebook/react/ReactSettingsExtension.kt:26:16 Unresolved reference: layout
Here is my build.gradle file
buildscript { ext { buildToolsVersion = "34.0.0" minSdkVersion = 21 compileSdkVersion = 34 targetSdkVersion = 34 // Remove any sourceCompatibility and targetCompatibility here if present // Instead, use: androidXCore = "1.10.1" kotlinVersion = "1.8.0" reactNativeGradlePluginVersion = "5.0.4" } repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") classpath("com.facebook.react:react-native-gradle-plugin:$reactNativeGradlePluginVersion")
} apply plugin: "com.facebook.react.rootproject" // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { // ...
// id 'com.google.gms.google-services' version '4.4.1' apply false
}