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

Could not find method compile() for arguments #244

Closed
SERCHAT opened this issue Jul 2, 2022 · 2 comments
Closed

Could not find method compile() for arguments #244

SERCHAT opened this issue Jul 2, 2022 · 2 comments

Comments

@SERCHAT
Copy link

SERCHAT commented Jul 2, 2022

Version

1.0.6

Platform

iOS | Android

OS version

iOS 10| android 7.0...

Steps to reproduce

  1. get package with npm
  2. run comman "npm run android" on fresh react native project

Expected behavior

What should happen
The code should be compile without errors

Actual behavior

What is happening
the code does not compile. I use gradle version 7+ and openJDK 11 and react-native v.0.69
problem occurred evaluating project ':react-native-beacons-manager'.

Could not find method compile() for arguments [org.altbeacon:android-beacon-library:2.16.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

@sashko9807
Copy link

compile method() has been deprecated starting from gradle v7. Replace 'compile' with 'implementation'
For reference
sashko9807/react-native-beacons-manager@32d013e

@Srikanth-Enuguru
Copy link

@SERCHAT @sashko9807 Are you able to scan the iBeacons using this library?
If yes could you please share your code or help me in fixing this issue.

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

3 participants