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
git clone https://github.com/react-community/react-native-maps.git
cd react-native-maps
yarn install
yarn build:android
result:
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\git\react-native-maps\lib\android\build.gradle' line: 46
* What went wrong:
A problem occurred evaluating project ':react-native-maps-lib'.
> Could not find method compileOnly() for arguments [com.facebook.react:react-native:+] 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.
The text was updated successfully, but these errors were encountered:
This is related to this pull #2096 since it updated gradle files that are used when this lib is included on rn apps, but not the gradle files to build the lib itself.
How to reproduce:
result:
The text was updated successfully, but these errors were encountered: