-
Notifications
You must be signed in to change notification settings - Fork 570
Description
Android gradle plugin: 7.4.2
Gradle: 8.0.1
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties
file or use the new publishing DSL.
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 34
This Android Gradle plugin (7.4.2) was tested up to compileSdk = 33
**FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':@mauron85_react-native-background-geolocation:generateDebugBuildConfig'.
Failed to create parent directory '/Users/kodecorp/Desktop/CLI/New/Verifuel/node_modules/@mauron85/react-native-background-geolocation/android/lib/build' when creating directory '/Users/kodecorp/Desktop/CLI/New/Verifuel/node_modules/@mauron85/react-native-background-geolocation/android/lib/build/generated/source/buildConfig/debug'**
android/build.gradle
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 21
compileSdkVersion = 34
targetSdkVersion = 34
// appCompatVersion = "1.4.2"
googlePlayServicesLocationVersion = "21.0.1"
ndkVersion = "25.1.8937393"
kotlinVersion = "1.8.0"
gradleVersion = '7.0.0'
}
Settings.gradle
include ':@mauron85_react-native-background-geolocation-common'
project(':@mauron85_react-native-background-geolocation-common').projectDir = new File(rootProject.projectDir, '../node_modules/@mauron85/react-native-background-geolocation/android/common')
include ':@mauron85_react-native-background-geolocation'
project(':@mauron85_react-native-background-geolocation').projectDir = new File(rootProject.projectDir, '../node_modules/@mauron85/react-native-background-geolocation/android/lib')