Skip to content

How to build Android pdk

06/18/2009

How to build Android pdk

0.Prerequisites

You got Android source code and built it successfully.

1.Install doxygen
sudo apt-get install doxygen

2.Build pdk

$cd {cupcake root}
$. build/envsetup.sh
$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

out/target/common/docs/online-pdk

5.Reference
{Android Root}/development/pdk/README

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: