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. Voice search on ADP1 + 1.5: 'Connection problem'

Hi.

Since I installed the 1.5 firmware from HTC's website on my ADP1, the
voice search feature doesn't work and gives immediately a 'Connection
problem' message.
I don't think it's a network problem since everything else works
normally.
I don't know if this is might be the problem, but I'm not in the US
(but in France).

Thanks for your help!

BoD
--~--~---------~--~----~------------~-------~--~----~

2. get id of array in spinner

Here is code....

Spinner s = (Spinner) findViewById(R.id.spinner);
        ArrayAdapter adapter = ArrayAdapter.createFromResource(
                this, R.array.planets,
android.R.layout.simple_spinner_item);
        adapter.setDropDownViewResource
(android.R.layout.simple_spinner_dropdown_item);
        s.setAdapter(adapter);

<string-array name="planets">
        <item>first</item>
        <item>second</item>
        <item>third</item>
    </string-array>

I want to use id of array to call other class.....
something like this  swith(i) : case 0: Intent i = new Intent(this,
xxx.class);
                                                         startActivity
(i);
                                          case 1:
xxxxxxxxxxxxxxxxxxxxxxxxx
how to write exactly. Can anyone help?
--~--~---------~--~----~------------~-------~--~----~

3. Detecting new video

4. Android Themes Creator

5. How to remove the tab on android backgournd

6. Widget design in Gimp

7. Get alarms from Alarm Clock application