I am using the react-native-community_geolocation package. On my IOS simulator evertging works fine but on android I keep getting a build failed.
This is the error that I get:
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
- What went wrong: A problem occurred configuring project ':react-native-community_geolocation'.
Could not open cp_proj generic class cache for build file '/Users//Desktop//node_modules/@react-native-community/geolocation/android/build.gradle' (/Users/*****/.gradle/caches/7.5.1/scripts/e08foxj1bhjhq63aa1rz2tkj3). BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 63
Can anyone help?? I can find anything on Google