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?
Close your app in an Android Studio/Eclipse . Go to your workspace where you have the project. Open that R. jave file in notepad and remove the "/" symbol then save it.
Step 1 − Open eclipse, select the option Project →Generate Javadoc. Step 2 − Select the javadoc.exe file from the bin folder of java installation directory, select the destination folder for the generated java doc and select Next. finish button.
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)
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With