You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add googlePlayServicesVersion = "17.6.0" in ext of android/build.gradle
npm run android
Context
I tryed the manual setup but there are some errors similar to this.
Debug logs
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script 'C:\Users\emanu\App\DetectApp-copia11\node_modules\@mauron85\react-native-background-geolocation\android\common\VERSIONS.gradle' line: 27
* What went wrong:
A problem occurred evaluating project ':@mauron85_react-native-background-geolocation-common'.
> Could not get unknown property 'android' for project ':app' of type org.gradle.api.Project.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':@mauron85_react-native-background-geolocation-common'.
> com.android.builder.errors.EvalIssueException: 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 10s
The text was updated successfully, but these errors were encountered:
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')
Your Environment
Context
I want to install the module but I have 2 error when I run android after installation.
Expected Behavior
Actual Behavior
Possible Fix
Steps to Reproduce
yarn add @mauron85/react-native-background-geolocation
node ./node_modules/@mauron85/react-native-background-geolocation/scripts/postlink.js
googlePlayServicesVersion = "17.6.0"
in ext ofandroid/build.gradle
npm run android
Context
I tryed the manual setup but there are some errors similar to this.
Debug logs
The text was updated successfully, but these errors were encountered: