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
When trying to install according to the docs, I ran into an error with this line in android/app/build.gradle: compile project(':react-native-version-check')
Changing it to this line solved the problem: runtimeOnly project(':react-native-version-check')
Hope it helps.
The text was updated successfully, but these errors were encountered:
FAILURE: Build failed with an exception.
* Where:
Build file '.../XXX/node_modules/react-native-version-check/android/build.gradle' line: 23
* What went wrong:
A problem occurred evaluating project ':react-native-version-check'.
> Could not find method compile() for arguments [com.facebook.react:react-native:0.20.+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
When trying to install according to the docs, I ran into an error with this line in android/app/build.gradle:
compile project(':react-native-version-check')
Changing it to this line solved the problem:
runtimeOnly project(':react-native-version-check')
Hope it helps.
The text was updated successfully, but these errors were encountered: