简体   繁体   English

如何从JavaDoc中删除R.java

[英]How to remove R.java from JavaDoc

I tried to generate Java-documentation using eclipse then previewed my JavaDocumenttation using the 'Preview attached JavaDoc in Browser' option. 我尝试使用eclipse生成Java文档,然后使用“在浏览器中预览附加JavaDoc”选项预览我的JavaDocumenttation。

All the auto generated android classes such as R.drawable are present. 所有自动生成的Android类如R.drawable都存在。 How can I remove them? 我该如何删除它们? Should I remove them? 我应该删除它们吗?

在此输入图像描述

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) 在eclipse中,当我单击生成Javadoc时,它会弹出一个向导,可以选择我想要生成哪些类/包,从中我排除gen(包含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 至于你是否应该,我建议排除整个gen package / source文件夹,因为对于阅读你的文档的人来说这不是真正相关的信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM