Skip to content

Instantly share code, notes, and snippets.

@zeemyself
Created October 27, 2017 05:15
Show Gist options
  • Save zeemyself/9b2c16c7368e6b65ccd77f453fea21b3 to your computer and use it in GitHub Desktop.
Save zeemyself/9b2c16c7368e6b65ccd77f453fea21b3 to your computer and use it in GitHub Desktop.
Script for react-native android
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 25
buildToolsVersion '27.0.0'
}
}
}
}
@zeemyself
Copy link
Author

Add this script at android/build.gradle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment