已安装Android 4.0现在不能跑项目 - 缺少resources.ap_现在、项目、Android、resources

2023-09-06 18:04:20 作者:一抹煽情美

我安装Android 4.0及更新的Eclipse插件。现在,我不能运行任何我的项目,并得到一个错误,说明如下:

I installed Android 4.0 and updated the Eclipse plugin. Now I cannot run any of my projects and get an error stating the following:

错误产生最终的归档文件:java.io.FileNotFoundException:C:\\项目\\ Android的\\ HelloAndroid \\ BIN \\ resources.ap_不存在

这是从一个非常简单的Hello World的应用程序来。

This is coming from a very simple "Hello World" app.

有人知道如何让resources.ap_文件再次生成?

Anybody know how to get the resources.ap_ file generating again?

推荐答案

我碰到了同样的错误(也引用here)升级到14 ADT和SDK 14日,包括新创建的所有项目后,使用Eclipse 3.7(蓝色),我找到了一个解决方法的人贴在ADT bug跟踪系统,这基本上是切换Eclipse的设置 - > Android->建设 - >构建从松散到正常输出的职位是的这里。

I ran into the same error (also referenced here) using Eclipse 3.7 (Indigo) after upgrading to ADT 14 and SDK 14 on all projects including newly created ones. I found a workaround someone posted on the ADT bug tracker, which is basically to switch Eclipse Settings->Android->Build->Build Output from "Verbose" to "Normal". The post is here.