I don't know if this folder is existent at my project. I have already executed my application but I'm not finding this folder at my project. Where is it usually located?
解决方案
R.java will be automatically created for your project by android-studio once you build the project.
You can find it at:
your_app_name/app/build/generated/source/r/debug/your_package_name/R.java
You might not be seeing that folder in the project explorer of android-studio, because by default it's set to Android view. Change it to Project view.