Featured post
- Get link
- X
- Other Apps
react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..)
Hi friends,
Today i am going to discuss an error which i got when i try to run an app on android studio simulator.My project is in react native.I have used react-native-gesture-handler module in my project.I opened android folder of react native project on android studio.I did gradle sync and tried to run the app on simulator.
Immediately on my vs code terminal i got the error react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..).We can install react-native-gesture-handler directly from npm packages and it is one of dependent npm package of react navigation library.
But in my case for the error,react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..) i tried to uninstall and install the react-native-gesture-handler module again but still i got the error
i tried below commands also on the terminal
- cd android
- gradlew clean
- cd ..
- react-native run-android
Even though i tried to above commands, i still got the error.I encourage readers to provide a solution,if any of you found a right solution,please let me know
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
Execution failed for task ':react-native-reanimated:externalNativeBuildDebug' solved
- Get link
- X
- Other Apps
Error: Invalid `prisma.$executeRaw()` invocation: fixed using log: ["query"] option
- 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
app keeps stopping error solved in android studio emulator using logcat in react native project
- Get link
- X
- Other Apps