Android Unknown Command 'crunch'
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
After updating to ADT r14, go to Window -> 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
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
Comments
-
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 over 12 yearsI 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 over 12 yearsWe dealt with this for five hours today. We had to upgrade to rev 8 and then clean the project. viola.
-
Moak over 12 yearsThe update program is not working for me i get 404 for dl-ssl.google.com/android/repository/addons_list.xml
-
Moak over 12 yearsInstalled at r15 only getting 404 errors for the update lists dl-ssl.google.com/android/repository/addons_list-1.xml and dl-ssl.google.com/android/repository/repository-5.xml
-
Mike S over 11 yearsI don't see 'support packages' anywhere in my SDK manager :(. I also have an issue with an unknown flag on my aapt tool.