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

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -