Question: Any ideas why at times Eclipse frizzles and doesn't recognize code it did seconds ago? The "R" in the code below has the red squiggle under it when it didn't 5 minutes ago and I've change no code. This happens frequently with Eclipse and usually I shut it down and start it again and it's good to go...no go this time.

```
// Initialize view elements
    mSearchBox      = (EditText) this.findViewById(R.id.edittext_search);
    mSearchButton   = (Button) this.findViewById(R.id.button_search);

```

Answer: 
I ran into the same problem. All I did was erase the "import android.R" statement and Eclipse automatically gave me the imports that I needed. Once I hit save, all my errors went away. I struggled for three days trying to figure this out.

BTW - make sure you do this with all the files.
Did you add any image files to your drawable folder? Image files with invalid file names can also cause the same issue.