Yep, I got tripped up by this too and a couple of extra points.
When setting up a new project in Eclipse, it automatically adds a res/menu/menu.xml (name may vary!) menu file which has a reference to an “@string/action_settings” string which will cause errors as the listing in 33.2 omits an action_settings string.
This can either be resolved by deleting the menu.xml file or adding a dummy actions_settings string in your strings.xml file.
It took me quite a while to resolve this as I spent ages comparing my code with that found in the downloaded solutions file and I think I may have found a further error in the solutions file as it does not contain a res/layout/activity_fragment.xml file. A need for this is mentioned in the book (P 526) but it doesn’t seem to appear in the source code.
And while we’re at it…
I notice that the source code AndroidManifest specifies a min SDK of 8 which doesn’t tie in with P 525 33.1 or Para 3 on P 529 which both say min SDK of 9.
Good book by the way. I’m a Brit too and understood the Flash analogy and enjoy the humour. In addition, you deserve 10 out of 10 for your engagement with these forums which shouldn’t be taken for granted. A previous Wrox Android book I’d read only had one post by the author in response to volumes posted by his readership.