I’m really new to android and I got an issue that I don’t clearly understand.
A few hours ago I worked on a project, saved all files and closed eclipse. When I restarted it a few minutes ago, several files are missing, namely the AndroidManifest (saw some other questions around here on SO), but also all XML-files I created and saved in res/layout, res/values and res/menu (Their not only missing in eclipse, but also when I open the project via explorer). On the other hand, in my main Activity, eclipse doesn’t show any error at calling of setContentView(R.layout.show_start_site).
I’ve read that most of the xml-files under res/ get compiled. But how can I process further on them after closing and reopening eclipse? Via explorer, under classes/.../"appname" I see the class files, e.g. R$Layout.class, R$menu.class and so on.
UPDATE
I just created a new workspace at a different (random) place, now everything works fine. Don’t really understand why…
Did you change your workspace by any chance?
In Eclipse go to “File” and go down to switch workspace. It will show you what your current workspace is and make sure those files are in that workspace.