ERROR: Unknown option '--no-crunch' - AAPT error

半腔热情 提交于 2019-12-19 21:39:28

问题


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

ERROR: Unknown option '--no-crunch'

Please help...


回答1:


I have recently faced this issue.

But it is now solved.

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

  1. Check on 'repository', uncheck "installed"
  2. Wait for packages to load, then select all support packages, accept all and install them
  3. Restart Eclipse

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




回答2:


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.



来源:https://stackoverflow.com/questions/7831253/error-unknown-option-no-crunch-aapt-error

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