Hi, Thanks a lot for the solution. I was using previous version and referring to latest version of API.
The problem is solved now. Thanks and Regards, Vaibhav Gathibandhe On Sun, Sep 7, 2008 at 5:46 AM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > > I am trying to import the MenuItem class, but getting following error > > during > > build > > > > Code >> import android.view.MenuItem; > > > > Error >> > > java:5: cannot find symbol > > [javac] symbol : class MenuItem > > [javac] location: package android.view > > [javac] import android.view.MenuItem; > > [javac] ^ > > [javac] 1 error > > > > > > I would really appreciate if someone can tell possible reasons for this. > > Are you sure you are using the 0.9 SDK? The previous milestone had > Menu.Item instead. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.1 Published! > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---