如何解决 “invalid resource directory name”, resource “crunch”[转]

文章详细介绍了在使用Eclipse和ADT插件进行APK打包时遇到路径名冲突问题的解决方案。通过在切换工具时使用特定命令清理项目,避免了资源目录名称错误的问题,提供了有效的问题解决方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Ant and the ADT Plugin for Eclipse are packing the .apk file in a different build chain and temp generation folders. Crunch is created by the ADT. Best to do is to start every step with a clean if you switch between the tools. use ant clean if you used the ADT from eclipse before. UseProjects -> clean ... in Eclipse if you used ant before. Hope this solves your problem. Also restarting Eclipse could help.

 

参考资料 :http://stackoverflow.com/questions/19746319/how-to-solve-invalid-resource-directory-name-resource-crunch

 

 

以上从百度搜出,具体遇到的情况如下:

在eclipse中clean project不凑效,采用ant clean 就好了。

转载于:https://www.cnblogs.com/jessica2015/p/4566561.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值