5

I have downloaded latest revision (r14) yesterday. but getting this error while running any application

ERROR: Unknown option '--no-crunch'

Please help...

himanshurb
  • 1,115
  • 1
  • 12
  • 22
  • Android Asset Packaging Tool has not been updated somehow. Did you miss it? – Reno Oct 20 '11 at 05:42
  • 2
    Yes, missed it, support packages, solved here: http://stackoverflow.com/questions/7816679/android-unknown-command-crunch/7831692#7831692 – himanshurb Oct 20 '11 at 05:56
  • I'm Goan too :) Drop by the [Android chatroom](http://chat.stackoverflow.com/rooms/15/android) sometime. – Reno Oct 20 '11 at 06:02
  • Follow this [topic][1] you can fix your probelm [1]: http://stackoverflow.com/questions/7816679/android-unknown-command-crunch – Khai Nguyen Oct 21 '11 at 19:06
  • If it's solved, please add the solution and mark it as the selected answer so the question is closed :) – Alexander Lucas Nov 01 '11 at 21:56

2 Answers2

7

I have recently faced this issue.

But it is now solved.

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

  1. Check on 'repository', uncheck "installed"
  2. Wait for packages to load, then select all support packages, accept all and install them
  3. Restart Eclipse

Now you can run your apps on new ADT r14, without 'crunch' errors.

Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
  • 2
    I think it happened to me after updating the android eclipse plugin but not updating the SDK. Thus, updating the SDK did the trick. – AlikElzin-kilaka Nov 21 '11 at 15:20
0

I think the --no-crunch was dropped from platform-toosl revision 7. aapt (part of platform-tools) revision 8 is needed to use the latest ADT.