ADT to use offline docs on SHIFT+F2

落花浮王杯 提交于 2019-12-08 07:29:04

问题


I have the Android SDK documentation offline, however when I use the SHIFT+F2 combination in eclipse it tries to take me to the on-line site, even when I'm not connected to the internet. Isn't it supposed to take me to the offline docs?

I want to be able to use my offline docs with shift+f2.

I've looked through eclipse's preferences, but there seem to be no settings that could help...


回答1:


I found the answer on this question.

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/".

thanks to Kevin Tighe,



来源:https://stackoverflow.com/questions/7052199/adt-to-use-offline-docs-on-shiftf2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!