What went wrong:
A problem occurred evaluating project ':react-native-beacons-manager'.
Could not find method compile() for arguments [directory 'libs'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
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 40s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. Where:
Build file '/Users/rodrigodiasdefigueiredo/Desktop/zerel-parksharing-mobile/node_modules/react-native-beacons-manager/android/build.gradle' line: 30 What went wrong:
A problem occurred evaluating project ':react-native-beacons-manager'.
Could not find method compile() for arguments [directory 'libs'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. * 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 40s.
info Run CLI with --verbose flag for more details.
Version
1^1.0.7
Platform
iOS | Android
OS version
android 11...
Steps to reproduce
Expected behavior
it should install the android app without errors
Actual behavior
FAILURE: Build failed with an exception.
Where: Build file '/Users/rodrigodiasdefigueiredo/Desktop/zerel-parksharing-mobile/node_modules/react-native-beacons-manager/android/build.gradle' line: 30
What went wrong: A problem occurred evaluating project ':react-native-beacons-manager'.
Try:
BUILD FAILED in 40s error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. Where: Build file '/Users/rodrigodiasdefigueiredo/Desktop/zerel-parksharing-mobile/node_modules/react-native-beacons-manager/android/build.gradle' line: 30 What went wrong: A problem occurred evaluating project ':react-native-beacons-manager'.
how to solve it? Thanks