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 can change the file name R.menu.main to R.menu.menu_main by default
change
R.menu.main to R.menu.menu_main
Add the camera item in src/main/res/menu/menu_main.xmlsuch that
src/main/res/menu/menu_main.xml