SFDX-Data-Move-Utility
SFDX-Data-Move-Utility copied to clipboard
Android installation issue solved
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.
android/app/build.gradle:
dependencies {
...
runtimeOnly project(':react-native-version-check')
...
}
I would failed to build the. application.
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.
Did you find a solution? I'm encountering the same problem.
Did you find a solution? I'm encountering the same problem.
Did you find a solution? I'm encountering the same problem.
In my case, I had to change to implementation project(':react-native-version-check')