You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to develop with React-Native on WSL (Windows Subsystem for Linux) using Bash on Ubuntu on Windows.
PS>bash
$ react-native init test
$ cdtest
$ react-native run-android
Everything is in place, I even have android studio running through VcXsrv (although it does have memory errors, fix for that is inbound @ms)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Crunching Cruncher abc_btn_rating_star_on_mtrl_alpha.png failed, see logs
I don't know why Crunching Cruncher errors on perfectly valid files. They are put in place by react-native init itself. Will provide the logs I'm asked for.
If this turns out to be a fault in WSL, I will open an issue there. It's not 100% yet but they're working on it like madmen.
Additional Information
React Native -v tells me I'm not inside a React Native directory. after I let it init and cd in there.
It's version 0.39.2 anyway, the one I get from an init today. My real project fails in the same way though and that's on 0.36.0 at the moment (plan on booting to ubuntu-gnome after my cigarette and upgrade it. Then I can finally do work again.)
Android
Linux and Windows
The text was updated successfully, but these errors were encountered:
Well, I wish you luck, but we don't support React Native run on WSL, so maybe it just doesn't work. If you do get it to work that would be pretty cool, though. You might want to try asking on Stack Overflow or somewhere that WSL types hang out. I am going to close this issue but good luck!
WSL only supports amd64 (native 64bit).
React Native use android-sdk 23 that is 32-bit binary and 32-bit binary doesn't support WSL. microsoft/WSL#390
If using android-sdk 24.0+, it will be 64-bit binary.
facebook
locked as resolved and limited conversation to collaborators
May 24, 2018
Description
I want to develop with React-Native on WSL (Windows Subsystem for Linux) using Bash on Ubuntu on Windows.
Everything is in place, I even have android studio running through VcXsrv (although it does have memory errors, fix for that is inbound @ms)
I don't know why Crunching Cruncher errors on perfectly valid files. They are put in place by
react-native init
itself. Will provide the logs I'm asked for.If this turns out to be a fault in WSL, I will open an issue there. It's not 100% yet but they're working on it like madmen.
Additional Information
React Native -v
tells me I'm not inside a React Native directory. after I let itinit
andcd
in there.It's version 0.39.2 anyway, the one I get from an init today. My real project fails in the same way though and that's on 0.36.0 at the moment (plan on booting to ubuntu-gnome after my cigarette and upgrade it. Then I can finally do work again.)
The text was updated successfully, but these errors were encountered: