-
Notifications
You must be signed in to change notification settings - Fork 452
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
Failed to create window surface native crash on android #2754
Comments
Can you try v1.5.6 and also share with me the project on which you run the example? I tried the example with minSdk 24 on the example app and it worked (trying in release mode now) |
I would also be curious to know if this happens on the simulator as well. |
@wcandillon invited you to the project 👍🏻 it does run on emulator without crashing interesting ! Pixel 4 api 32 |
ok this is great to know because I use a Pixel 4, should I get a Pixel 6 or can I even get or newer pixel model? |
I am using a Pixel 6 with android 14 that's only device I have on hand |
The app looks so beautiful, unfortunately it looks like the crash is not reproducible on the Pixel 6 emulator. (I ordered a physical pixel 8 device). |
I also had same issue since v1.5.5. It worked until v1.5.4. |
Confirm it happens with 1.5.6 as well |
@TomAtterton you seem to be able to reproduce the issue locally, could I provide you a test package from #2759 and get some feedback? Anyone would be willing to test a potential fix for it? |
Hi William, I am willing to test the potential fix. Best regards, Reproducible code:
Error message: Exception java.lang.RuntimeException: Failed to create window surface |
Here is a package based on #2759: https://firebasestorage.googleapis.com/v0/b/start-react-native.appspot.com/o/tmp%2Freact-native-skia-test.tgz?alt=media&token=3e153a04-bea9-4404-acf6-d869ac5d05ba Could someone test it? I would appreciate it very much 🙏 |
v1.5.7 is published, I would love to get a read on whether it is improving Android stability? |
Thanks @wcandillon |
closing based on #1982 (comment) |
I confirm that it works on 1.5.7, thank you @wcandillon! |
@wcandillon just tested and it works for me too 🥳 Thanks for picking this up so quickly <3 |
Ever since updating to version 1.5.5, the app now crashes on my Android device (Pixel 6).
The only interaction with Skia in my project is with my package: react-native-snowfall. Running the example on the latest version seems to work fine, so I’m confused about what could have caused the issue in my project.
The text was updated successfully, but these errors were encountered: