You know how.
$ sudo apt-get update
$ sudo apt-get install build-essential module-assistant
장치 - 게스트 확장 CD 이미지 삽입
재시작($ sudo shutdown -r now
)
http://source.android.com/source/initializing.html
$ sudo apt-get install openjdk-7-jdk # --> 이거 하지 말고 아래의 oracle java 깔아야하는듯
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
libgl1-mesa-dev libxml2-utils xsltproc unzip
$ . build/envsetup.sh
$ lunch 1
$ make -j4
... wait
$ emulator
... ensure the build works
Error 2
Can't locate Switch.pm in @INC (you may need to install the Switch module)
-> sudo apt-get install libswitch-perl
23:50 ~ 00:46
.repo 폴더 안에 local_manifests 폴더가 없으면 만들고 local_manifest.xml을 만들면 된다