Cannot find symbol class android.view.MenuItem

by Mark Murphy » Sun, 07 Sep 2008 10:46:12 GMT

Sponsored Links
 > I am trying to import the MenuItem class, but getting following error

Are you sure you are using the 0.9 SDK? The previous milestone had
Menu.Item instead.

Mark Murphy (a Commons Guy) 
_The Busy Coder's Guide to Android Development_ Version 1.1 Published!


Other Threads

1. Anyone received Dev Phone 1?


Is the phone in mass production right now?
How long need to wait when I ordered?


2. Building on Ant


I'm trying to build on Ant. But I'm stuck with a thing. When I try to
run ant, I'm getting following error note on command prompt.

I've copied the build.xml inside java folder.

Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.6.
Buildfile: build.xml does not exist!
Build failed

Prior to this, I've set JAVA_HOME environment variable.

Which is the right path to copy the build.xml?

Can you someone help on this?



3. external libraries crashing app

4. Displaying image in SimpleExpandableListAdapter

5. When will Google have Android 1.1 release?

6. Sending E-mail Programatically from Android Emulator

7. How can I get an email from the gmail applications?