Skip to content

How to build Android pdk


How to build Android pdk


You got Android source code and built it successfully.

1.Install doxygen
sudo apt-get install doxygen

2.Build pdk

$cd {cupcake root}
$. build/
$mkdir dist
$mkdir logs
$time make -j4 pdk pdk_all dist DIST_DIR=dist 2>&1 | tee logs/`date +%y%m%d-%H%M%S`

You’ll have a following output on your screen.

PDK docs: out/target/product/generic/obj/PACKAGING/pdkdocs_intermediates/android_pdk_docs–usinheki-20090618-095552.tar
PDK docs: zipped out/target/product/generic/obj/PACKAGING/pdkdocs_intermediates/android_pdk_docs–usinheki-20090618-095552.tar
Dist: dist/android_pdk_docs–usinheki-20090618-095552.tar.gz
PDK: Docs tarred and zipped
Package: ndk pdk_docs

real 5m11.566s
user 2m44.662s
sys 1m38.150s

3.the pdk and ndk tar file is put in the dist directory.

4.the pdk-docs are in


{Android Root}/development/pdk/README

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: