-
Notifications
You must be signed in to change notification settings - Fork 696
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
Shader compilation crashes on Android emulators #415
Comments
This sounds like mapbox/mapbox-gl-native#5878. |
Hi, I'm experiencing the same... Has someone found a workaround to use while we get to a final solution? Thanks! |
@mgtitimoli My comment above mentions that downgrading Android SDK Tools worked for me. Did you try that? |
thanks @almithani, no I haven't yet, it can't be done using the sdk manager, so I was looking for the link to download it manually... Which is your current setup, so I try with that one? |
(Thanks @almithani! Map is alive again...) I can confirm this setup is working in case anyone is experiencing the same (there is no way to downgrade tools and platform tools, this is why I'm leaving all the links to download them manually and unzip it directly in your installation folder):
Hope this issue gets resolved soon... |
Now tracking upstream in mapbox/mapbox-gl-native#6400. |
Try running the emulator with -gpu swiftshader, like this: |
The downgrade sadly don't worked for me ... it still crashes even the example app on emulator, bud on physical device it works ... |
@uudruid74 Thanks so much for this! the '-gpu swiftshader' fixed a lot of crashes i've been getting. Much appreciated! |
After upgrading to react native 0.32 (from 0.26), I started to experience crashes on my Android emulator when displaying a map. I had been using Android SDK Tools 25.2.2, but downgraded to 25.1.7 and am now about to display the map successfully on my emulator.
Here's the relevant Android Monitor output:
The text was updated successfully, but these errors were encountered: