Android 未知命令“crunch”

发布于 2024-12-10 16:37:08 字数 130 浏览 2 评论 0原文

我刚刚在 Mac OS X 中安装了 Eclipse 和 Android SDK。

我将项目导入到 Eclipse,但在运行项目时出现未知命令“crunch”错误。

我应该如何解决这个问题。

请帮我

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

迎风吟唱 2024-12-17 16:37:08

我刚刚更新
“Android SDK Platform-Tool”至8 Rev和“Android Asset Packaging Tool”
从 android sdk 管理器,

然后它就可以工作了。

尝试一下!

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!

我一直都在从未离去 2024-12-17 16:37:08
  1. 更新到ADT r14后,进入Window -> SDK Manager(在 Eclipse 中)

  2. 选中“存储库”,取消选中“已安装”

  3. 等待包加载,然后选择所有 支持包,接受所有并安装它们

  4. 重新启动 Eclipse

  5. 在新的 ADT r14 上运行您的应用程序,不会出现“紧缩”错误

对我有用:)

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

箜明 2024-12-17 16:37:08

将 Android SDK Tools 更新到 r14 并将 Android SDK Platform-tools 更新到 r8 也为我解决了这个问题。

我必须在 SDK 管理器中检查“已安装”才能列出更新(即使我已经安装了以前的版本)。仅选中“新建/更新”框意味着它们不会显示在列表中。

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.

过气美图社 2024-12-17 16:37:08
  • 转到窗口 -> Andriod SDK Manager(在 Eclipse 中)
  • 选中“存储库”,取消选中“已安装”
  • 等待包加载,然后选择所有支持包,接受
    全部并安装它们
  • 重新启动 Eclipse
  • 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
起风了 2024-12-17 16:37:08

我也遇到了同样的问题。

修复它:
- 在Android SDK Manager中卸载当前的sdk工具(Android SDK Tools和Android SDK Platform-tools)
- 重新安装它们的最新版本 (r14)。

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

蓝梦月影 2024-12-17 16:37:08

我也遇到过这种问题,更新SDK时,

解决办法是重新进入Eclipse的SDK文件夹路径。

(由于某种原因,新的 SDK 安装在与原始 SDK 不同的文件夹中)

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)

薄荷梦 2024-12-17 16:37:08

对我来说,有效的是 Androgeektinyau 说。

总结一下。我需要更新我的 Android SDK 工具和支持工具并重新启动 eclipse。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文