-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Android Crashing on RN 50.4 with illegalViewOperationException #17092
Comments
I am getting a crash in RN 51 too. I'm new to maps, I just copied pasted the example after putting my maps api key in the android manifest. |
Same here. Can you post your package.json to find out if we have any libraries in common?
|
I got the same issue, posted here expo/expo#1099 |
Is this the same bug?
|
@henrikra actually not, maybe i'm wrong too because my error is like this: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS Sierra 10.12.5
Node: 7.9.0
Yarn: 1.3.2
npm: 4.2.0
Watchman: 4.9.0
Xcode: Xcode 8.2.1 Build version 8C1002
Android Studio: 3.0 AI-171.4408382
Packages: (wanted => installed)
react: 16.1.1 => 16.1.1
react-native: 0.50.4 => 0.50.4
Target Platform: Android 6.0.1
-->
Steps to Reproduce
Launch the app normally. Occasionally the app crashes on launch. Reproduced on XiaoMi Mi5 and Samsung Galaxy S5
So far not reproduced on emulator
Expected Behavior
The app should launch normally
Actual Behavior
App crashes on actual device with the following message:
com.facebook.react.uimanager.illegalViewOperationException: trying to set local data for view with unknown tag
Don't seem to be able to reproduce on emulator, but do see these warnings on iOS emulator when executing the same scenario (launching a logged in app)
Reproducible Demo
I'm not sure which part of the code actually produces this problem as it seem like some transition problem. Doesn't happen all the time either - once the app is launched successfully, no other problems until trying to launch again, where the app could launch properly, or it crashes again. So far not reproducable on emulator
App.js render method
Root Container render method (Note: using react native router flux v3.43)
Overlay render method
Startup (Splash Screen) code
MainScreen render method
The text was updated successfully, but these errors were encountered: