Skip to content

Instantly share code, notes, and snippets.

@mopx
Created December 10, 2017 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mopx/5f545be4782a205eeed22dbc1e9e8b58 to your computer and use it in GitHub Desktop.
Save mopx/5f545be4782a205eeed22dbc1e9e8b58 to your computer and use it in GitHub Desktop.
Add this to android/build.gradle to override the compiled and build version on every react native component
// override build.gradle on every js module.
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment