Android的HelloWorld的构建路径错误 [英] Android HelloWorld Build Path error

查看:228
本文介绍了Android的HelloWorld的构建路径错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Mac我安装了Eclipse,SDK和创建了一个新的项目,然后击筑期待看到我的第一个HelloWorld的应用程序。

On my Mac I installed Eclipse, the SDK and created a new project, then hit build expecting to see my first helloworld app.

我得到了错误的项目不能建到构建路径错误是固定的。

I got the error "the project cannot be built until build path errors are fixed".

将直通$ p中$ pferences中所有的路径,类似的选项后,我注意到标签Java构建路径上的谷歌的API [的Andr​​oid 2.2]选项并没有其复选框选中。

After going thru all the path-like options in Preferences, I noticed that on the tab "Java Build Path" the "Google APIs [Android 2.2]" option did not have its check box checked.

检查它提出的问题消失。

Checking it made the problem go away.

现在的工作,我可以看到应用程序在模拟器

It works now and I can see the app in the Emulator

我不是设置我的环境中正常?我曾经在Eclipse中所有的缺省值和Android SDK。

Have I not set up my environment correctly? I used all the defaults in Eclipse and the Android SDK.

推荐答案

检查过的Java构建路径为所有框。

Check off the Java Build Path for all boxes.

这篇关于Android的HelloWorld的构建路径错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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