如何添加的javadoc为Android来Netbeans的 [英] How to add javadoc for android to Netbeans
本文介绍了如何添加的javadoc为Android来Netbeans的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚开始使用网络豆类。我想试试我的手,在开发Android应用程序。我下载了Android SDK和一切运作良好。我可以创建小应用程序,并在模拟器中运行它们。但是,智能感知弹出为Android方法说未找到的Javadoc。有没有办法增加吗?
I just started using Net Beans. I am wanting to try my hand at developing android apps. I got the android sdk downloaded and everything is working well. I can create little apps and run them in the emulator. However, the intelisense popup for the android methods says that the Javadoc isn't found. Is there a way to add it?
推荐答案
如下面在NetBeans 7步的最佳方式:
The best way as below steps in NetBeans 7:
- 工具 - > Ant库
- 新图书馆 - >将其命名为Android的
- 在类路径 - >添加JAR /文件夹 - > {SDK文件夹} \平台\ Android为16 \的android.jar (简称发现的android.jar和使用它的路径,对我来说我用16版)。
- 的Javadoc - >添加ZIP /文件夹 - > {SDK文件夹} \文档\引用 (重要提示:。你可能会得到错误在上面的步骤,所以搜索会失败。要解决这个问题,里面的[参考文件夹] index.html文件复制到一个新的文件,并呼吁指数all.html然后重新添加在步骤4)的路径。
- Tools --> Ant Libraries.
- New library --> Name it Android.
- Classpath --> Add JAR/Folder --> {SDK Folder}\platforms\android-16\android.jar (in short find android.jar and use it's path, for me I'm using 16 version).
- Javadoc --> Add ZIP/Folder --> {SDK Folder}\docs\references (important note: you may get error in above step, so search will not work. To solve it, copy the file index.html inside [references folder] to a new file and called index-all.html. Then re-add the path in step 4).
来源:这里
这篇关于如何添加的javadoc为Android来Netbeans的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文