Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing the android #273

Open
rodrigodiasf1984 opened this issue Sep 13, 2024 · 1 comment
Open

Error when installing the android #273

rodrigodiasf1984 opened this issue Sep 13, 2024 · 1 comment

Comments

@rodrigodiasf1984
Copy link

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.

  • 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
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
Copy link
Author

@MacKentoch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant