Search code examples
androidintellij-idear.java-file

how to regenerate android resource file (R.java) with working on Intellij


I need to regenerate the resource file, I did these steps but it could not help.

  1. right click on the project
  2. click to force regenerate R.java file

to clean the project was a solution on eclipse but I just started to develope a project on intellij and dont find any solution. anyone knows how do I regenerate the source file on intellij?


Solution

  • The Intellij version of "clean" is called "Rebuild Project". It's in the Build menu.