Understand the R class in Android [duplicate]

R.java is the dynamically generated class, created during build process to dynamically identify all assets (from strings to android widgets to layouts), for usage in java classes in Android app. Note this R.java is Android specific (though you may be able to duplicate it for other platforms, its very convenient), so it doesn’t have much to do with Java language constructs. Take a look here, for more details.

Leave a Comment