Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layout error #295

Open
Jitesh0404 opened this issue Nov 8, 2024 · 2 comments
Open

layout error #295

Jitesh0404 opened this issue Nov 8, 2024 · 2 comments

Comments

@Jitesh0404
Copy link

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 {
// ...

// Add the dependency for the Google services Gradle plugin

// id 'com.google.gms.google-services' version '4.4.1' apply false

}

@loidodev
Copy link

same issue

@NupurKukkar
Copy link

Same issue any one found any solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants