错误:未知选项“-不紧急”- AAPT错误。

时间:2021-05-31 06:06:09

I have downloaded latest revision (r14) yesterday. but getting this error while running any application

我昨天下载了最新的修订(r14)。但是在运行任何应用程序时都会得到这个错误

ERROR: Unknown option '--no-crunch'

Please help...

请帮助……

2 个解决方案

#1


7  

I have recently faced this issue.

我最近遇到了这个问题。

But it is now solved.

但现在已经解决了。

After updating to ADT r14, go to Window -> SDK Manager (in Eclipse)

更新到ADT r14后,转到Window -> SDK管理器(在Eclipse中)

  1. Check on 'repository', uncheck "installed"
  2. 检查“储存库”,取消“已安装”
  3. Wait for packages to load, then select all support packages, accept all and install them
  4. 等待包加载,然后选择所有支持包,接受所有包并安装它们
  5. Restart Eclipse
  6. 重新启动Eclipse

Now you can run your apps on new ADT r14, without 'crunch' errors.

现在,你可以在新的ADT r14上运行你的应用程序,而不会出现“嘎查”错误。

#2


0  

I think the --no-crunch was dropped from platform-toosl revision 7. aapt (part of platform-tools) revision 8 is needed to use the latest ADT.

我认为——无关键字是从平台-toosl版本7中删除的。使用最新的ADT需要aapt(平台工具的一部分)修订8。

#1


7  

I have recently faced this issue.

我最近遇到了这个问题。

But it is now solved.

但现在已经解决了。

After updating to ADT r14, go to Window -> SDK Manager (in Eclipse)

更新到ADT r14后,转到Window -> SDK管理器(在Eclipse中)

  1. Check on 'repository', uncheck "installed"
  2. 检查“储存库”,取消“已安装”
  3. Wait for packages to load, then select all support packages, accept all and install them
  4. 等待包加载,然后选择所有支持包,接受所有包并安装它们
  5. Restart Eclipse
  6. 重新启动Eclipse

Now you can run your apps on new ADT r14, without 'crunch' errors.

现在,你可以在新的ADT r14上运行你的应用程序,而不会出现“嘎查”错误。

#2


0  

I think the --no-crunch was dropped from platform-toosl revision 7. aapt (part of platform-tools) revision 8 is needed to use the latest ADT.

我认为——无关键字是从平台-toosl版本7中删除的。使用最新的ADT需要aapt(平台工具的一部分)修订8。