Eclipse 3.5 + ADT:构建路径错误

发布于 2024-09-09 07:43:08 字数 698 浏览 2 评论 0原文

我正在使用面向 Jave EE 开发人员的 Eclipse 3.5。安装的插件包括:Android开发工具、Adobe Flash Builder 4、PDT、PyDev。我在运行我构建的应用程序时遇到问题。

我可以启动一个新项目,添加一个按钮,然后在 AVD 上运行它。然后我添加另一个按钮,尝试在 AVD 上运行它,Eclipse 说 1) gen 文件夹丢失2) 构建路径有错误

我可以通过简单地刷新左侧窗格中的项目来解决第一个错误,但第二个错误始终存在。我在在线和StackOverflow上进行了搜索< a href="https://stackoverflow.com/questions/3029679/android-helloworld-build-path-error">此处 和 这里,虽然有几个人有同样的问题,但我找不到明确的解决方案。

成功解决这个问题的人可以告诉我如何解决吗?

I am using Eclipse 3.5 for Jave EE Developers. Plugins installed include: Android Development Tools, Adobe Flash Builder 4, PDT, PyDev. I have problem with running the application I built.

I can start a new project, add a button, and run it on an AVD. Then I add another button, try to run it on AVD, and Eclipse says 1) gen folder is missing, 2) there are errors with build path.

I can get ride of the first error by simply refreshing the project in the left pane, but the second error always sticks around. I searched online and on StackOverflow here and here, although several people have the same problem, there is no definite solution I can find.

Can somebody who fixed this problem successfully tell me how?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

噩梦成真你也成魔 2024-09-16 07:43:08

试试这个

a) 从 Eclipse 中删除您的项目 (i
仅表示来自 Eclipse
,因此取消选中
选项:删除项目内容
磁盘)

b) 将您的项目导入 Eclipse:
文件>导入>现有项目进入
工作区(查找您的项目
之前从 Eclipse 中删除)>
完成

try this

a)Delete your project from Eclipse (i
said ONLY from Eclipse
, so uncheck
option: Delete project contents on
disk)

b) import your project to Eclipse:
file > Import > Existing Projects into
Workspace (Look for your project
previously deleted from Eclipse) >
Finish

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文