gpt4 book ai didi

java - 错误 : Unable to open class file R. java

转载 作者:IT老高 更新时间:2023-10-28 20:51:18 25 4
gpt4 key购买 nike

全新安装了 Eclipse、JDK 和 android-sdk。

我目前在创建新项目时收到此错误

[2010-09-26 16:07:56 - Test] ERROR: Unable to open class file C:\workspace\Test\gen\com\example\test\R.java: No such file or directory

这是什么原因,我该如何解决?

Eclipse Helios 32 bit
java version "1.6.0_21"
Android sdk API 8

附:我是 Android 开发新手。

编辑:我尝试了您的大多数解决方案,但没有任何效果。所以我开始使用我 friend 安装的 Eclipse Ganymede。

最佳答案

我有同样的问题,我需要做的就是创建项目并重新启动 Eclipse。

//编辑:“包”树的完全折叠也可以。

关于java - 错误 : Unable to open class file R. java,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3796490/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com