Home » Android » android – How to remove R.java from JavaDoc

android – How to remove R.java from JavaDoc

Posted by: admin June 15, 2020 Leave a comment

Questions:

I tried to generate Java-documentation using eclipse then previewed my JavaDocumenttation using the ‘Preview attached JavaDoc in Browser’ option.

All the auto generated android classes such as R.drawable are present. How can I remove them? Should I remove them?

enter image description here

How to&Answers:

Within eclipse, when I click generate Javadoc, it brings up a wizard, with the option to select which classes/packages I want generated, from which I exclude gen (which contains the R.java)

enter image description here

As for whether or not you should, I would recommend excluding the entire gen package/source folder as it isn’t really relevant info for anyone reading your documentation