问题
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)
- Check on 'repository', uncheck "installed"
- Wait for packages to load, then select all support packages, accept all and install them
- 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