Skip to content

Error when installing the android #273

Description

@rodrigodiasf1984

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions