react-native-reanimated
react-native-reanimated copied to clipboard
Install error
React Native: 0.63.2
Could not find method android() for arguments [build_4r6xsikqee700koo7212wljzb$_run_closure1@44fcfae4] on project ':react-native-reanimated' of type org.gradle.api.Project.
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem?
Hey! 👋
It looks like you've omitted a few important sections from the issue template.
Please complete Description, Snack or minimal code example, Package versions and Affected platforms sections.
Hello @xclidongbo! When exactly does this error appear? How do you build the app? Which version of Reanimated are you using? Do you use Expo?
subprojects {
afterEvaluate {
project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
}
}
}
}