./node_modules/@mauron85/react-native-background-geolocation/android/common/gradle.properties
.node_modules/@mauron85/react-native-background-geolocation/android/common/VERSIONS.gradle
if (findProject('..:app') != null) {
applicationId = project('..:app').android.defaultConfig.applicationId
} else if (findProject(':app') != null) {
applicationId = project(':app').android.defaultConfig.applicationId
}
if (findProject('..:app') != null && project('..:app').hasProperty('android')) {
applicationId = project('..:app').android.defaultConfig.applicationId
} else if (findProject(':app') != null && project(':app').hasProperty('android')) {
applicationId = project(':app').android.defaultConfig.applicationId
}
Run the command: npx jetify && npm start
Then you should be able to build and run from Android Studio