Android Unknown Command 'crunch'

倖福魔咒の 提交于 2019-11-26 22:31:20

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!

himanshurb
  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 :)

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.

iKushal
  • 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

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).

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)

Fabricio Buzeto

For me, what worked was a combination of what Androgeek and tinyau said.

Summing up. I needed to update both my Android SDK Tool and Support Tools and restart eclipse.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!