react-native run-androidBuild to run successfuilly
What actually happens?
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
> A problem occurred configuring project ':react-native-code-push'.
> The SDK Build Tools revision (23.0.1) is too low for project ':react-native-code-push'. Minimum required is 25.0.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Hi @krystofbe ,
Thanks for reporting!
Yeah, it is so because react-native has updated buildTools in @0.56 version. It is known issue. Fix in progress.
Thanks,
Alexander
+1
"fixed" this by editing my build.gradle
subprojects {
afterEvaluate {
project -> if (project.hasProperty("android")) {
android {
compileSdkVersion 26
buildToolsVersion "26.0.3"
}
}
}
}
Hi @krystofbe and @mouthzipper
Created PR for this: https://github.com/Microsoft/react-native-code-push/pull/1342
Could you please test it when you get the chance?
Thanks,
Alexander
Hi @alexandergoncharov
Would it be possible to use the proposed approach here?
Hi @xaviraol,
Do you mean use project-wide properties? Yeah, It is good approach. Thanks for this.
Hi all,
Hi all,
I'm going to close this issue as fix in master and already in new release.
Please feel free to reopen it if you have any questions or you face this issue again.
Thanks,
Alexander
Most helpful comment
Hi all,
I'm going to close this issue as fix in master and already in new release.
Please feel free to reopen it if you have any questions or you face this issue again.
Thanks,
Alexander