Android Platform Developer's Guide




Download 1.28 Mb.
bet7/95
Sana22.12.2019
Hajmi1.28 Mb.
#4580
1   2   3   4   5   6   7   8   9   10   ...   95

Building the Android Platform


This section describes how to build the default version of Android. Once you are comfortable with a generic build, then you can begin to modify Android for your own target device.

Device Code


To do a generic build of android, source build/envsetup.sh, which contains necessary variable and function definitions, as described below.

% cd $TOP


% . build/envsetup.sh
# pick a configuration using choosecombo

% choosecombo


% make -j4 PRODUCT-generic-user

You can also replace user with eng for a debug engineering build:

% make -j4 PRODUCT-generic-eng

These Build Variants differ in terms of debug options and packages installed.



Download 1.28 Mb.
1   2   3   4   5   6   7   8   9   10   ...   95




Download 1.28 Mb.

Bosh sahifa
Aloqalar

    Bosh sahifa



Android Platform Developer's Guide

Download 1.28 Mb.