우분투 안드로이드 빌드 환경 설정
필요 패키지 설치
JAVA6
remove OpenJDK
$ sudo apt-get purge openjdk*
Install Oracle JAVA
$ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java6-installer
Addition packages
$ sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
GCC 4.4.3
$ sudo apt-get install gcc-4.4 g++-4.4-multilib g++-4.4 gcc-4.4-multilib $ sudo rm /usr/bin/gcc $ sudo ln -s gcc-4.4 gcc