android eclipse 的 javadoc 怎么才能看到,JavaDoc in an Eclipse Android Project

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):

问题:

In our Android project, our code is JavaDoc'd and that generates everything properly. However, any reference to the Android API classes/functions results in a JavaDoc error and a link to the relevant information is not generated. Instead we get plaintext class names. How can we set up Eclipse to turn these into links to the online Android API reference (preferably) or a local copy (if necessary)?

回答1:

If you have the "Documentation for Android" package and the javadoc info still isn't showing up, make sure the Android library settings point to the right folder:

Project -> Settings -> Java Build Path, Libraries tab

Android X.X -> Android.jar -> Javadoc Location:

Should be something like "sdk_root/docs/reference/".

And to view the docs for a class in editor for example:

you should choose show attached java doc in web browser from to popup that appear when hover the cursor on some declaration.

回答2:

Install "Documentation for Android SDK" package using Android SDK and AVD Manager.

回答3:

This answer is new and might not been available on 2010 when the question been asked

And these docs include android SDK docs which many developers need and google app engine too

Detailed steps for the above link .. for indigo

middle reference

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值