buildscript { ext { buildToolsVersion = "34.0.0" minSdkVersion = 26 compileSdkVersion = 36 targetSdkVersion = 36 ndkVersion = "27.1.12297006" kotlinVersion = "1.9.24" // Fixed: Compatible with RN 0.82.1 googlePlayServicesVersion = "21.0.1" googlePlayServicesMapsVersion = "18.2.0" } repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:8.3.2") // Added version classpath("com.facebook.react:react-native-gradle-plugin") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") } } apply plugin: "com.facebook.react.rootproject" subprojects { project.configurations.all { exclude group: "com.android.support" resolutionStrategy { force "com.facebook.react:hermes-engine:0.82.1" // Force Hermes version } } } subprojects { configurations.all { resolutionStrategy.eachDependency { details -> if (details.requested.group == 'com.google.android.gms') { if (details.requested.name == 'play-services-location') { details.useVersion "21.0.1" } } } } }