Upon creating a new menu resource file, the auto-generated R file is not getting updated. This causes syntax error when I try to use it the following way:

`getMenuInflater().inflate(R.menu.menu, menu)`

Attaching a [screenshot](https://i.stack.imgur.com/VG7R5.png) for more clarity.