Skip to content

Android Platform Partial Build

09/21/2009

Android Platform Partial Build

1. Modify default application
For example, AlarmClock.
Change app_label to “Alarm Clock Test” in packages/apps/Alarmclock/res/values/strings.xml

2.$. build/envsetup.sh

3.$lunch 1
Generic Or your target

4.$mmm packages/apps/AlarmClock

5.$make snod
It will build system.img quickly.

6.$emulator
You can see Alarm Clock label has changed to “Alarm Clock Test“. I used my name.

alarmclock_partialbuild

or if you want your system.img in your sdk.
6.1. $cp out/target/product/generic/system.img out/host/YOUR_OS/sdk/YOUR_SDK_PATH/tools/lib/images/

6.2. $out/host/YOUR_OS/sdk/YOUR_SDK_PATH/tools/emulator -wipe-data

Note.“make snod” would not check dependences.
If you change some code in the framework, then “make clean”.

Advertisements
2 Comments leave one →
  1. 10/16/2009 17:50

    Hello, it really interesting, thanks

  2. ben permalink
    12/15/2009 21:33

    which platform did you test? i think it’s cupcake or donuts..
    do you know how to partial build on platform eclair?
    if so please mail me..

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: