You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
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.
The text was updated successfully, but these errors were encountered:
The issue is gradle version, it can't build the APK if you are using this pacakge on gradle v7+ RN project.
We need a new version of the package that can work with gradle v7+ or downgrade the gradle in your project, but I guess that can break a lot of other stuff.
Version
1.0.7
Platform
OS version
Android 9.0
Steps to reproduce
Actual behavior
Android build fails with following reason:
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
Where:
Build file '/Users/nikola/nikola/thinkit/Berac/node_modules/react-native-beacons-manager/android/build.gradle' line: 30
What went wrong:
A problem occurred evaluating project ':react-native-beacons-manager'.
The text was updated successfully, but these errors were encountered: