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
순정 안드 빌드를 했는데도 emulator 실행하면 command not found가 뜨면 set_stuff_for_environment를 치고 다시 emulator 실행