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

后端 未结 2 1103
迷失自我
迷失自我 2021-01-18 20:17

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

ERROR: Unknown option \'--no-crunch\'
相关标签:
2条回答
  • 2021-01-18 20:42

    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.

    0 讨论(0)
  • 2021-01-18 20:56

    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.

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