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

Build failed: Crunching Cruncher failed #7320

Closed
anchetaWern opened this issue May 1, 2016 · 3 comments
Closed

Build failed: Crunching Cruncher failed #7320

anchetaWern opened this issue May 1, 2016 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@anchetaWern
Copy link

I'm having issues with app:mergeDebugResources task.

error:

* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Crunching Cruncher abc_tab_indicator_mtrl_alpha.9.png failed, see logs

I just created a new react native project with this command. No plugins and other code added yet.

react-native init MyProject

From package.json version 0.24.1 of React is installed:

{
  "name": "TestReact",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start"
  },
  "dependencies": {
    "react": "^0.14.8",
    "react-native": "^0.24.1"
  }
}

The error occurs for android, not really sure if the same problem exists with iOS.
I'm using Ubuntu for development.

Gradle is at version 2.4 according to the gradle.properties file:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
@anchetaWern anchetaWern changed the title Crunching Cruncher failed Build failed: Crunching Cruncher failed May 3, 2016
@anchetaWern
Copy link
Author

for anyone having the same problem. this solved the issue for me:

http://stackoverflow.com/questions/22701405/aapt-ioexception-error-2-no-such-file-or-directory-why-cant-i-build-my-grad

It's an issue with 64-bit OS, because aapt isn't available you have to install these 2 packages:

sudo apt-get install lib32stdc++6 lib32z1

@micsay
Copy link

micsay commented Dec 2, 2016

thanks,that works for me.

@bozzmob
Copy link
Contributor

bozzmob commented Dec 10, 2016

Thanks! It worked for me too. 👍

@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

4 participants