-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only the original thread that created a view hierarchy can touch its views. #16042
Comments
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue that meets the requirements set forth in the template. Thanks! |
I second this. Using Expo SDK 21 along with TypeScript 2.5, and getting consistent crashes on recompilation each time on Android. I found my issue by viewing the stacktrace I could send to the dev (through the Android report bug feature). It was due to the following call: abi21_0_0.com.facebook.react.devsupport.DebugOverlayController.setFpsDebugViewVisible(DebugOverlayConroller.java:49) By turning off the Inspector module (for FPS perf etc), Expo stopped crashing. |
same problem, crashes on reload when perf monitor is visible.
|
Also have this error on React-native 0.50.3 and android 8 |
@hramos reopen? |
@hramos |
I also have this issue, with Android 7, and:
It is fixed when I disable the performance-monitor overlay. (so seemingly a bug in react-native) |
thanks for @Venryx , it's works to me |
@Venryx How do you disable the performance monitor overlay? Is it by shaking the phone and clicking the "Hider Perf Monitor"? I already did that, but still running into this error. |
Yes, that's what fixed it for me. Must be another root-cause in your case. |
I think the combination that breakes the System is having JS Dev Mode deactivated and Show performance Monitor true. Either one on its own seems to be working fine... |
Need Help Only the original thread that created a view hierarchy can touch its views. |
{ |
Show performance monitor = true caused this issue for me. Running on android 8.0 |
I am sorry, but how you click on the "Hider Perf Monitor"?
|
Hide Perf Monitor works for me. |
I got the same issue. I shut down the server and restarted it and the issue went away. |
Having the same issue. So Performance Monitor cannot be used along Live Reload? :( |
Same issue? Are you going to fix it? |
It seems it has been solved in #17544, in beta version 0.57. |
This "Only the original thread that created a view hierarchy can touch its views" error given after react native version upgrade 44.2 to 47.2.
Environment:
OS: ubuntu 16.04
Node: 6.10.0
npm: 3.10.10
Watchman: 4.7.0
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react-native: 0.44.2 => 0.47.2
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
Target Platform: Android (6.0.0)
The text was updated successfully, but these errors were encountered: