Android Unknown Command 'crunch'
AndroidEclipseMacosAndroid Sdk-ToolsAndroid Problem Overview
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
Android Solutions
Solution 1 - Android
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 - Android
-
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 - Android
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 - Android
- 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
Solution 5 - Android
I had the same issue.
To fix it :
- Uninstall the current sdk tools (Android SDK Tools and Android SDK Platform-tools) in the Android SDK Manager
- Reinstall them at their last version (r14).
Solution 6 - Android
I encountered this kind of problem also, when updating SDK,
The solution was to re-enter the SDK folder path to the Eclipse.
(For some reason, the new SDK was instaslltion was in a diffrent folder from the original one)