Skip to content
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

Crunching Cruncher failed on WSL #11483

Closed
ThaJay opened this issue Dec 15, 2016 · 3 comments
Closed

Crunching Cruncher failed on WSL #11483

ThaJay opened this issue Dec 15, 2016 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@ThaJay
Copy link

ThaJay commented Dec 15, 2016

Description

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
$ cd test
$ 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
@lacker
Copy link
Contributor

lacker commented Dec 16, 2016

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!

@peterlau
Copy link

peterlau commented May 4, 2017

See my note on the cross-posted ticket in Microsoft/BashOnWindows about a workaround for getting things done in WSL

@2zH
Copy link

2zH commented Jul 12, 2017

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 facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants