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. program's offline installation

Hi,

(questions are marked with *?*, where ? is a letter).

I took a while to read all posts about people trying to create
installation approaches for android.

There are basic two approaches:

1. Put app+data it in the apk.
2. Put app in the apk and download data from somewhere

Most of my users won't use the market to market their products (my
product is a virtual machine with some libraries - near 2mb): they
will have to create an apk with their data (can achieve several mb),
and do a OFFFLINE installation. For an example, take a Sales Force
application with a few MB of databases - not sqlite.

*a* I was wondering if its possible of:

1. Delete some raw data of the original apk (approach 1)
or
2. Delete the apk from data/app after the installation is done
*without* deleting the data installed (approach 2)

*b* One option i imagine would be to use tar.gz or even zip. Is it
possible to use tar.gz in the device?

*c* The res/raw has a very big limitation: only supports resources
with lower case. This is serious for me because all resources have
mixed-case. Is there anything we can do to bypass this limitation? If
not, i was thinking in a way to rename the files to lowercase, put in
the apk, and after installation rename them back.

*d* Can an application run after the apk is installed? This way i
could trigger the file rename of *c*.

Thanks for feedback.

    guich

-- 

2. adding voice search

I want to add a voice search button to one of my apps but I can't seem
to find documentation on it anywhere.  Can someone give me an example
or point me to one?
Thanks!

-- 

3. Strange error with AdMob

4. Android 2.1 bug: uses res/layout-v3 instead of res/layout

5. Creating dialogs from a thread

6. Phone.apk crashes due to failure loading resource dtmf_twelve_key_dialer.xml

7. How to forward a phone call to voice mail ?