初学者无法创建第一个Android应用程序项目 [英] Beginner unable to create First Android Application Project

查看:163
本文介绍了初学者无法创建第一个Android应用程序项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了ADT束(编译:v22.0.1-685705)到我的MacBook Pro OS X 10.8.4,并根据Android开发者指令(周三6月19日)安装。当我尝试创建一个新的应用程序项目,全部采用默认设置,我得到一个错误信息:显示java.lang.NullPointerException

I have downloaded the ADT bundle (Build: v22.0.1-685705) to my Macbook Pro OS X 10.8.4, and installed it according to the Android Developer instructions (on Wednesday 19 June). When I try to create a new Application Project, using all default settings, I get an error message: java.lang.NullPointerException.

我已经搜索这个词在网上,并了解它是指一些软件无法找到。在各种论坛,包括这一个,我只能找到复杂的引用意味着我什么都不是,或者说,这个问题是略有不同的缩写。

I have searched this term online, and understand that it refers to something the software cannot find. In the various forums, including this one, I can only find complicated references to acronyms that mean nothing to me, or that the problem is slightly different.

当我尝试运行显然已经创建的应用程序,因为它出现在列表中,我得到这样的:

When I try to run the Application that has apparently been created,as it appears in the list, I get this:

[2013-06-21 18:21:50 - SDK Manager] [SDK Manager] log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.SingleClientConnManager).
[2013-06-21 18:21:50 - SDK Manager] [SDK Manager] log4j:WARN Please initialize the log4j system properly.
[2013-06-21 18:31:16 - Test2] ------------------------------
[2013-06-21 18:31:16 - Test2] Android Launch!
[2013-06-21 18:31:16 - Test2] adb is running normally.
[2013-06-21 18:31:16 - Test2] Could not find Test2.apk!

当我试图寻找在应用中Java文件,有没有。事实上,似乎没有任何实际的文件,仅夹。我会附上截图,但我太新在这里,他们是不会放过我的。

When I attempt to find Java files in the application, there are none. In fact, there don't seem to be any actual files, only folders. I would attach a screenshot, but I'm too new here, they won't let me.

我试图点击属性,但没有任何反应。

I have tried to click on Properties, but nothing happens.

我已经卸载,并重新安装ADT包三次。

I have uninstalled, and reinstalled the ADT bundle three times.

我是一个绝对的初学者。我将是绝对的初学者的建议表示感谢。

I am an absolute beginner. I would be grateful for absolute beginner advice.

推荐答案

我贴这个答案别人,但它可以帮助你。这是一个十分钟的刚刚得到的东西跑一步一步的。本步骤是在Windows安装的Eclipse这样做,但我相信它会工作同样在Mac上。如果一切正常,那么你知道你的设置是好的。如果没有,那么也许您的设置是不正确的。

I posted this answer recently for someone else but it may help you. It's a ten-minute "just get something running" step-by-step. The steps were done on a Windows installation of Eclipse but I believe it will work the same on the Mac. If it works then you know your setup is good. If it doesn't, then perhaps your setup isn't right.

祝你好运。

这篇关于初学者无法创建第一个Android应用程序项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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