R.java is very important in android application development. It is used to identify all resource data such as id, layout, image, drawable resource, etc. R.java is generated by android studio automatically. But it is sometimes confused for developers to use it. This article will help you to resolve these problems about R.java you may encounter.