react native 0.60.5 - Expect view tag to be set for com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView
See original GitHub issueCurrent Behavior
This is the error I have:
2019-09-16 12:23:01.960 15524-15651/com.maikii.myfaba E/GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
2019-09-16 12:23:09.534 15524-15524/com.maikii.myfaba E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.maikii.myfaba, PID: 15524
java.lang.RuntimeException: java.lang.IllegalStateException: Expect view tag to be set for com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView{90683fa V.E...... ......ID 0,0-1080,1731}
at com.facebook.react.bridge.ReactContext.handleException(ReactContext.java:335)
at com.facebook.react.bridge.GuardedRunnable.run(GuardedRunnable.java:26)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Expected Behavior
No compile errors.
How to reproduce
- create new app no expo
- install react native 0.60.5
- install react navigation 4.0.0
- install react native gesture handler 1.4.1
- react-native run-android
I’ve followed the install instructions, I’ve also tried all other solutions but nothing… clean, rebuild, autolinking, manual linking, jetify, nothing works…
I’m still experiencing this issue and always getting
Expect view tag to be set for com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView
Your Environment
my package:
"react": "16.8.6",
"react-native": "0.60.5",
"react-native-gesture-handler": "^1.4.1",
"react-native-reanimated": "^1.2.0",
"react-navigation": "^4.0.0",
and
"postinstall": "npx jetify"
thanks for any helps, I’ve been stuck for days 😦
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Getting Started | React Native Gesture Handler
This is documentation for React Native Gesture Handler 1.10.3, which is no longer actively maintained. For up-to-date documentation, see the latest version (2.6 ......
Read more >How to fix react-native-gesture-handler error not working
First, install the library using yarn: yarn add react-native-gesture-handler. or ...
Read more >task :react-native-gesture-handler:compiledebugkotlin failed
Follows these steps:- At first Run this command inside your project (npm install --save react-native-gesture-handler). Then link this library by running ...
Read more >react-native-gesture-handler - npm
You will need to have an Android or iOS device or emulator connected as well as react-native-cli package installed globally. React Native ......
Read more >hawkingnetwork/react-native-tab-view v2.11.0 - npm.io
To complete the linking on iOS, make sure you have Cocoapods installed. Then run: cd ios pod install cd .. React Native 0.59...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m also having this issue and gradle sync didn’t help. Only happens after a codepush update.
@learnyst Try making sure you aren’t updating state in the component that renders AppContainer. Once I stripped all state updates from that component I stopped getting this error.