how to build the pdk_docs target to generate the document of android

by nail » Wed, 29 Apr 2009 13:13:35 GMT


Sponsored Links
 dear all,

i try to generate the pdk_docs target using following command to

generate the document of android

==========================================
make pdk pdk_docs dist DIST_DIR=dist 2>&1 | tee logs/`date +%y%m%d-%H%M
%S`
==========================================

and my java version is "sun-java5-jdk"

but it happens compile error below:

=======================

javadoc: error - In doclet class DroidDoc,  method start has thrown an
exception java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: ParseError: [development/pdk/ndk/../../../
out/target/product/generic/obj/PACKAGING/pdkdocs_intermediates/docs/
header.cs:1] Undefined macro called: custom_masthead()
        at org.clearsilver.CS._parseFile(Native Method)
        at org.clearsilver.CS.parseFile(CS.java:58)
        at ClearPage.write(ClearPage.java:120)
        at ClearPage.write(ClearPage.java:74)
        at DroidDoc.writeDirectory(DroidDoc.java:525)
        at DroidDoc.writeHTMLPages(DroidDoc.java:547)
        at DroidDoc.start(DroidDoc.java:209)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.tools.javadoc.DocletInvoker.invoke
(DocletInvoker.java:269)
        at com.sun.tools.javadoc.DocletInvoker.start
(DocletInvoker.java:143)
        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
        at com.sun.tools.javadoc.Start.begin(Start.java:128)
        at com.sun.tools.javadoc.Main.execute(Main.java:41)
        at com.sun.tools.javadoc.Main.main(Main.java:31)
1 error
make: *** [out/target/common/docs/online-pdk-timestamp] Error 45

================

does any body has idea about this issue ?
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Is it possible to have, horizontal "listview", scrolling horizontally?

Yes there is, it's called a Gallery.






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~

2. Child TextView in ScrollView with large amount of text pushes other views off the screen

You set the scrollview to have a height of wrap_content, which means
"be as big as you need to be to show your children." What you want
instead is a height of 1.0 and android:layout_weight="1.0"






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~

3. Apps built with 1.5 get a black-backgound icon in the Market

4. Android 1.5 - crash during drawing of multiline TextView

5. Intellectual Property Office approves software patent for UK

6. Testing on Devices and Networks

7. Increasing the memory heap to more than 16 Mb