문제

I downloaded Android's 4.4 source file and I would like to get its API as html?

I have ADT bundle and IntellijIdea 13 installed, I tried to import and then generate Doc, but I couldn't,some errors, I searched over internet but I could not find a good answers, is possible to generate API document without downloading?

Note: I want to generate the docs, I don't want to download the doc from somewhere else.

도움이 되었습니까?

해결책 3

I am afraid that the answers was not my solution.

in javadoc documentation there is option for documenting multiple packages,

http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html

I first extracted android source.zip file and then I used javadoc command in command-prompt. like so:

javadoc -J-Xmx1024m -d [DESTINATION] -sourcpath [SOURCE OF PACKAGES] -subpackages [PACKAGES]

-J-Xmx1024m is allocation of memory to VM and for multiple packages under src/ folder should be used like this,

-subpackages android:androidx:java and so

다른 팁

here's the link to direct download link for downloading doc download javadocs for all versions. If you can't still download it directly then please mention in comments i will provide you alternate download link.

Do you have the Android SDK? If you do, the documentation is in the subfolder docs. Look at docs/reference/packages.html for javadocs.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top