简体   繁体   English

在Eclipse Android项目中的项目资源管理器中看不到文件

[英]Can't see files in project explorer in Eclipse android project

I'm working on an Android project. 我正在做一个Android项目。 Something happened with my Eclipse project and I can no longer "see" any of my source files in the project explorer. 我的Eclipse项目发生了某些事情,因此我无法再在项目资源管理器中“查看”任何源文件。 The project explorer only shows : 项目浏览器仅显示:

src (clicking and trying to open yields nothing -- I can right click and open in a new window and see a bit more, but still can't decend the directory and see files) src (单击并尝试打开不会产生任何结果-我可以右键单击并在新窗口中打开,然后看到更多内容,但仍然无法下降目录并查看文件)

gen

android.jar 的android.jar

usb.jar usb.jar

maps.jar maps.jar

My java files are still in the directory. 我的Java文件仍在目录中。

It looks like the project is corrupted somehow? 看来该项目以某种方式损坏了? I have tried deleting everything in .metadata/.plugins/org.eclipse.core.resources per some suggestions I've found but that doesn't seem to fix it. 我已经尝试根据发现的一些建议删除.metadata/.plugins/org.eclipse.core.resources所有内容,但这似乎无法解决。 I created a new test project and it looked ok last night when I created it, although now, it to shows the same behavior as above. 我创建了一个新的测试项目,昨晚创建它时看起来还不错,尽管现在它表现出与上述相同的行为。 I'm using eclipse indigo service release 1. See the image bellow: 我正在使用eclipse indigo服务版本1。

截图

It's because you have the wrong view open. 这是因为打开了错误的视图。 Try to open the Package Explorer 尝试打开Package Explorer

Window > Show View > Package Explorer

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM