Hello, I am trying to install in in a new project but it won't compile.
any idea of how to configure this? not very proficient in java to dig into it
thanks in advance!
dan
Your Environment
Plugin version: 0.6.17
Platform: iOS or Android
OS version: 13 android
Device manufacturer and model: xiaomi
Running in Simulator: no
React Native version: 0.73.4
Context
trying to add it to a new project
Expected Behavior
it would compile at least
Actual Behavior
./gradlew assembleRelease
> Configure project :
Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable
Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) does not contain a java executable
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file 'full_path/node_modules/@darron1217/react-native-background-geolocation/android/lib/build.gradle' line: 29
* What went wrong:
A problem occurred evaluating project ':darron1217_react-native-background-geolocation'.
> Could not read script 'full_path/node_modules/@darron1217/react-native-background-geolocation/android/common/VERSIONS.gradle' as it does not exist.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':darron1217_react-native-background-geolocation'.
> compileSdkVersion is not specified. Please add it to build.gradle
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
BUILD FAILED in 2s
Hello, I am trying to install in in a new project but it won't compile.
any idea of how to configure this? not very proficient in java to dig into it
thanks in advance! dan
Your Environment
Context
trying to add it to a new project
Expected Behavior
it would compile at least
Actual Behavior
Steps to Reproduce