MacKentoch / react-native-beacons-manager

React-Native library for detecting beacons (iOS and Android)
MIT License
581 stars 317 forks source link

Error when installing the android #273

Open rodrigodiasf1984 opened 1 month ago

rodrigodiasf1984 commented 1 month ago

Version

1^1.0.7

Platform

iOS | Android

OS version

android 11...

Steps to reproduce

  1. yarn add react-native-beacons-manager
  2. yarn android

Expected behavior

it should install the android app without errors

Actual behavior

FAILURE: Build failed with an exception.

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.

how to solve it? Thanks

rodrigodiasf1984 commented 1 month ago

@MacKentoch?