R is not generating in my android application package and I think it’s because i’ve got an error in a layout file called menu.xml. I’m using eclipse and I’ve imported this source code from a non-eclipse project (I think)
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/menu_help"
android:title="@string/help" />
</menu>
The error occurs on the android:title=”@string/help” /> line
My values folder contains a file “strings.xml” though I’ve tried the renaming thing and that doesn’t appear to help.
Yes I’m a noob…and props to whoever wrote this forum software, pretty durned capable.
That’s only half the magic. You need a string in there named
help, which you probably don’t have. It could look like thisSee String resources for more details about the file structure