build failed in react-native-android
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with
an exception. * Where: Build file ‘C:UserschatgptDocumentsGitHubTikTokClonenode_modulesreact-native-reanimatedandroidbuild.gradle’ line: 226 * Wh
at went wrong: A problem occurred evaluating project ‘:react-native-reanimated’. > Could not find method namespace() for arguments [com.swmansion.reanimat
ed] on extension ‘android’ of type com.android.build.gradle.LibraryExtension. * Try: > Run with –stacktrace option to get the stack trace. > Run with –i
nfo or –debug option to get more log output. > Run with –scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 7s.
info Run CLI with –verbose flag for more details.