非解析AAPT错误错误、AAPT

2023-09-06 04:08:20 作者:Breeze hair清风挽发

我是想添加图像后,建立我的Andr​​oid应用程序,我计划使用,以可绘制文件夹。 该项目完全正常工作之前,但在运行项目之后,一个错误信息出现了说,非解析AAPT错误。该错误显示了在src文件夹。 我试图清理我的项目,但在R.java类只是在前看不见。

I was trying to build my android application after adding an image, that i planned on using, to the drawables folder. The project worked perfectly fine before, but after running the project, an error message showed up saying, Unparsed Aapt Error. The error shows up on the src folder. I have tried to Clean my project but the R.java class just disapears.

在如何解决这个问题????任何建议

Any suggestions on how to fix this problem????

推荐答案

1)清洁工程

2)关闭项目

3)再试一次,如果仍然失败:重复1安培; 2,然后

3) try again, if still fails: repeat 1 & 2 and then:

4)退出Eclipse和重新输入。

4) exit Eclipse and re-enter.

5)中设定的目标,在运行配置为手动,并尝试

5) set the target in the run configuration to manual and try

目前针对这个错误的错误 - http://$c$c.google.com/p/android/issues/detail?id=14607

There is a bug filed for this error - http://code.google.com/p/android/issues/detail?id=14607

直到它的解决需要我们来承担这个问题。

Till its resolved we need to bear with the issue.