상세 컨텐츠

본문 제목

안드로이드 소스 컴파일 (ubuntu 11.04 + android gingerbread)

Android 일반

by mobile 2013. 3. 17. 16:46

본문

반응형

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

$ sudo apt-get update

$ sudo apt-get install sun-java6-jdk


$ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev  ant gcc-multilib g++-multilib


$ mkdir ~/bin


$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo


$ chmod a+x ~/bin/repo


$ mkdir my-android



$ cd my-android


$ ~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1


$ ~/bin/repo sync

(시간 소요 많이 됨)


$  source build/envsetup.sh



$ lunch full-eng


============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.0.1

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a

HOST_ARCH=x86

HOST_OS=linux

HOST_BUILD_TYPE=release

BUILD_ID=ITL41D

============================================


$ make


반응형

관련글 더보기

댓글 영역