Android Unknown Command 'crunch'

前端 未结 7 1151
醉梦人生
醉梦人生 2020-11-28 11:47

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.

相关标签:
7条回答
  • 2020-11-28 12:02

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

    0 讨论(0)
  • 2020-11-28 12:04
    • 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
    0 讨论(0)
  • 2020-11-28 12:07

    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.

    0 讨论(0)
  • 2020-11-28 12:11

    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.

    0 讨论(0)
  • 2020-11-28 12:14

    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)

    0 讨论(0)
  • 2020-11-28 12:16

    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!

    0 讨论(0)
提交回复
热议问题