This is a dumb newbie question, but one that is driving me nuts.
I have an Android project being developed on Eclipse with two source files. Eclipse for some reason decided I didn’t need one of the files and removed it from the project (i.e., I pushed the wrong key at the wrong moment). Now I only have one source file in my project. The lost source file is still there in the directory, but Eclipse just doesn’t recognize it as part of the project. How do I get it back?
Try dragging the file out of your folder onto the desktop, and then drag it from the desktop into your source folder in eclipse. I’ve had a handful of different situations where this was necessary.