Eclipse Java Android compile error -


why error happening?

http://img35.imageshack.us/img35/4883/whyerror.png

i thought r automatically generated class not supposed touch?

thanks

//anything above had no errors

    public boolean oncreateoptionsmenu(menu menu)     {         getmenuinflater().inflate(r.menu.lovemenu, menu); //error here         return true;     }      @override     public boolean onoptionsitemselected(menuitem item)      {         switch(item.getitemid())          {              default:                 break;         }          return true;     }   } 

make sure not including following import

import android.r; 

and including reference own

import com.example.r; 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -