React Native: error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found
Can't remember where I picked this up but if you are feeling reckless you can force libraries onto the same sdk by adding:
subprojects {
afterEvaluate {project ->
// force libs to use recent buildtools
if (project.hasProperty("android")) {
android {
compileSdkVersion = 27 // change to match your desired version
buildToolsVersion = "27.0.3" // ....
}
}
}
}
to your root android/build.gradle
. Hasn't failed me so far after a react-native-git-upgrade. ymmv