Mac的错误创建的Andr​​oid项目 - "运行建设者“的Andr​​oid资源管理器”项目&QUOT错误; [英] Mac Error Create Android Project - "Errors running builder 'Android Resource Manager' on project"

查看:145
本文介绍了Mac的错误创建的Andr​​oid项目 - "运行建设者“的Andr​​oid资源管理器”项目&QUOT错误;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了一整天只是想在我的Mac(10.7.5)创建一个简单的Andr​​oid应用程序项目。当pressing完成,在项目向导中,我得到了以下错误消息:

I spent the whole day just trying to create a simple Android Application Project on my Mac (10.7.5). When pressing "Finish" in the project wizard, I got the following error message:

    Errors occurred during the build.
    Errors running builder 'Android Resource Manager' on project 'MyFirstApp'.
    java.lang.NullPointerException

空目录中的项目被创建,但除了一个名为ProGuard的-project.txt文件,该文件只包含注释中产生的任何文件。

A project with empty directories was created, but no files were generated except for a file called "proguard-project.txt", which just contained comments.

我真的只是下载href="http://developer.android.com/sdk/index.html"> ADT捆绑的到我的Mac

I literally just downloaded the ADT Bundle onto my Mac.

我已经有了一起来看看这里并尝试了所有的建议有,像删除.metadata文件夹,并试图改变Android的工程建设目标。

I've already had a look at here and tried all the suggestions there, like removing the ".metadata" folder and trying to change the Android "Project Build Target".

我也试着使用Eclipse朱诺和开普勒 - 同样的问题。我已经重新安装Eclipse和重建工作区很多很多次。

I've also tried using Eclipse Juno and Kepler - same problem. I've reinstalled Eclipse and recreated workspaces many many times.

所以我pretty的坚持......它不工作的开箱。任何帮助将是最AP preciated。

So I'm pretty stuck...it's not working out of the box. Any help would be most appreciated.

推荐答案

我在我的Windows机器得到了同样的错误。

I got same error on my windows machine.

当我比较与其他合作项目,我发现项目的文件系统,

When I compared project file system with other working project I found that

  project.properties 

是失踪,所以我创建一个txt文件,并重新命名为project.properties然后得到这个消息,我的控制台。

was missing, So I Created a txt file and renamed it to "project.properties" then got this message on my console.

 "Project has no project.properties file! Edit the project properties to set one"

然后,我经历的项目菜单

Then I went through project menu

project->properties->android->choose & set the "project build target".

再建it.now一切顺利。

then build it.now everything was smooth.

我们只是建立一个有效的project.properites文件,该项目。

We just setup a valid project.properites file for that project.

这篇关于Mac的错误创建的Andr​​oid项目 - "运行建设者“的Andr​​oid资源管理器”项目&QUOT错误;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆