Facing issue while running react-native run-android

Execution failed for task ‘:react-native-community_masked-view:mergeDebugJniLibFolders’.

Failed to create directory ‘ProjectFolder\node_modules@react-native-community\masked-view\android\build\intermediates\merged_jni_libs\debug\out’

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

I am very new to react native. I got this error while trying to rename the project name

1 Like