解决bug:在eclipse中导入Android项目时报错: “invalid resource directory name bin/res/crunch”
2015-03-26 15:50
721 查看
Bug:“invalid resource directory name bin/res/crunch”
文 | 莫若吻1.分析原因:
这种情况是版本不一致造成的,这个无效的目录不是当前编译的时候生成的,有可能是Debug情况下,生成的。因为1.6版本以前是只有drawable一个图片资源目录。2.解决方法一:
修改项目版本到1.6以上。3.解决方法二:
直接在项目中删除报错的crunch文件夹(按提示找到对应路径即可)。 然后运行,ok。相关文章推荐
- 【Android笔记】Android中引入项目报: “invalid resource directory name bin/res/crunch”错误
- Android开发引入项目报invalid resource directory name bin/res/crunch”错误
- android 报错:invalid resource directory name bin/res/crunch
- android 报错:invalid resource directory name bin/res/crunch
- android ant 打包遇到[aapt] invalid resource directory name crunch
- 如何解决 “invalid resource directory name”, resource “crunch”[转]
- 如何解决 “invalid resource directory name”, resource “crunch”
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法
- 解决 “invalid resource directory name”, resource “crunch”
- Android res文件夹下新建layout文件夹出错:invalid resource directory name
- Eclipse导入Android项目提示:Invalid project description(解决方法)(
- Eclipse导入Android项目提示:Invalid project description(解决方法)
- 如何解决 “invalid resource directory name”, resource “crunch”
- Eclipse导入android项目,报invalid project description错误的解决办法
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法
- Android中导入项目编译时报错:Java home supplied via 'org.gradle.java.home' is invalid. Invalid directory...
- Android无法导入下载好的项目(和Eclipse中已经存在的项目命名一样导致冲突)解决的方法
- maven导入项目时出现“Cannot read lifecycle mapping metadata …… invalid END header (bad central directory offset)pom”错误的解决方法
- Android eclipse导入项目后出现Unable to resolve target 'android-17'解决方法
- Eclipse执行import命令导入maven项目时报错:Add a version or custom suffix using "Name template" in "Advanced" settings