Android Unknown Command 'crunch'

29,191

Solution 1

I just update "Android SDK Platform-Tool" to 8 Rev and "Android Asset Packaging Tool" from android sdk manager,

and then it works.

Have a try!

Solution 2

  1. After updating to ADT r14, go to Window -> SDK Manager (in Eclipse)

  2. Check on 'repository', uncheck "installed"

  3. Wait for packages to load, then select all support packages, accept all and install them

  4. Restart Eclipse

  5. Run your apps on new ADT r14, without 'crunch' errors

Worked for me :)

Solution 3

Updating Android SDK Tools to r14 and Android SDK Platform-tools to r8 also solved this problem for me.

I had to check 'Installed' in the SDK Manager in order for the updates to be listed (even though I had the previous versions already installed). Checking only the New/Updates box meant they wouldn't show up in the list.

Solution 4

  • Go to Window -> Andriod SDK Manager (in Eclipse)
  • Check on 'repository', uncheck "installed"
  • Wait for packages to load, then select all support packages, accept all and install them
  • Restart Eclipse
Share:
29,191
duk
Author by

duk

Senior Iphone developer

Updated on July 05, 2022

Comments

  • duk
    duk almost 2 years

    I just installed Eclipse and Android SDK in Mac OS X.

    I imported the project to Eclipse and i get the Unknown command 'crunch' error while running the project.

    How should I solve this issue.

    Please help me

  • Bendik
    Bendik over 12 years
    I just struggled with this for a few hours as well, and this fixed it. Additionally, restarting Eclipse and cleaning your project(s) may be necessary depending on your setup. This update (to version 14) changed a lot of how ADT handles library projects, which may introduce some extra headache for you.
  • Jacksonkr
    Jacksonkr over 12 years
    We dealt with this for five hours today. We had to upgrade to rev 8 and then clean the project. viola.
  • Moak
    Moak over 12 years
    The update program is not working for me i get 404 for dl-ssl.google.com/android/repository/addons_list.xml
  • Moak
    Moak over 12 years
  • Mike S
    Mike S over 11 years
    I don't see 'support packages' anywhere in my SDK manager :(. I also have an issue with an unknown flag on my aapt tool.