Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix react-native-gesture-handler error not working

Tags:

react-native

I create a new project in react-native ,then install (npm install --save react-navigation,npm install --save, react-native-gesture-handler), the latest version (react-native: 0.60.0) auto linking so,I not link ,but still is showing error, !https://prnt.sc/oaxxuc Task :react-native-gesture-handler:compileDebugJavaWithJavac FAILED

After I uninstall gesture-handler this kind of error showing !https://prnt.sc/oaxx8i

Please help to solve this error

The react-native latest version:-

System: OS: Linux 4.15 Ubuntu 16.04.5 LTS (Xenial Xerus) react: 16.8.6 => 16.8.6 react-native: 0.60.0 => 0.60.0 npmGlobalPackages: react-native-cli: 2.0.1

thanks

like image 725
rajis Avatar asked Jul 05 '19 10:07

rajis


1 Answers

This issue has been posted on github and you can apply the following solution. It will work for the RN 0.60.0.

https://github.com/kmagiera/react-native-gesture-handler/issues/642#issuecomment-509113481

like image 78
Harsh Panchal Avatar answered Oct 20 '22 13:10

Harsh Panchal