String assignments don't propagate to resource file


In Listing 13.3 the hellomoon_playButton and hellomoon_stopButton cannot be resolved. Although my version of the fragment_hello_moon.xml file seemed correct, I overwrote it with the same file from the Book Solutions. This didn’t help. The generated R file doesn’t have these buttons defined. Any suggestions?


this happened to me but went away after I fixed the .xml file since I didn’t have matching strings.