Book mistake - Page 324

I noticed that there is a mistake on page 324 where it says:

“In the project window right-click res/values and create a new values file. As before, name the file refs.xml and check that its directory is values.”

When I try doing this this I get the error
“Cannot create file ‘C:\Users\Akshay\AndroidStudioProjects\CriminalIntent\app\src\main\res\values\refs.xml’. File already exists”

It already exists because we created the file on the previous page. The book should say:

right-click “Res” rather than “res/values” as that’s the only way I could bring up the interface as shown in Figure 17.6 in the book.

I’m only pointing this out as I am a total beginner in programming need exact instructions.

1 Like