I\'m learning android and following a simple camera app tutorial. There\'s a snippet of code that I\'ve reproduced but I am getting an error on it and I\'m not sure why.
You are getting this error because the android studio still does not have build the gradle with the new files that you have created.
So, you search for Sync project with Gradle Files and then after that restart android studio.
Then you will be able to see that it has recognized the menu directory in res directory.
Hope it helps.