I\'m a begginer with Android and currently stuck with the lession: http://developer.android.com/training/basics/firstapp/starting-activity.html
In the part C
ctrl+shift+O to import libraries and ctrl+s to save made the error go away for me.