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

Task :@mauron85_react-native-background-geolocation:generateDebugBuildConfig FAILED #584

Open
Sateesh7070 opened this issue Jan 5, 2024 · 0 comments

Comments

@Sateesh7070
Copy link

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')

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

No branches or pull requests

1 participant