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
Post a Comment