Featured post
- Get link
- X
- Other Apps
Execution failed for task ':react-native-reanimated:externalNativeBuildDebug' solved
When i was building a react native project in android studio,i got an error as shown below
Execution failed for task ':react-native-reanimated:externalNativeBuildDebug'.
> Build command failed.
Error while executing process C:\Users\Administrator\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C D:\Trivia\FrontEnd\node_modules\react-native-reanimated\android\.cxx\cmake\debug\x86 reanimated}
ninja: Entering directory
I tried many methods to solve the issue.But none of the solved my error in building android app in react native project.
I will explain the methods which i tried alreday before reach at correct solution
- Deleted node_modules folder and package-lock.json file and executed npm install command again
- using jetifier npm package to solve the issue
- Update the react-native-reanimated npm package to another version
But later i reached at the solution
i executed below the command on my VS Code terminal
cd android
./gradlew clean
npm start
At this time ,react native project started successfully.I did gradle sync and build the android source code without any error and open the app on simulator on android studio
So we soled Execution failed for task ':react-native-reanimated:externalNativeBuildDebug' error which occurs while building android project
Thanks
Popular Posts
How to Check React Version Installed in Your System by Checking PACKAGE.JSON File and Executing Command from COMMAND PROMPT
- Get link
- X
- Other Apps
Error: Invalid `prisma.$executeRaw()` invocation: fixed using log: ["query"] option
- Get link
- X
- Other Apps
app keeps stopping error solved in android studio emulator using logcat in react native project
- Get link
- X
- Other Apps
ERROR Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined
- Get link
- X
- Other Apps