1. 搭建Android 编译环境
- sudo apt-get update
- sudo apt-get install -y git gnupg flex bison gperf build-essential
- sudo apt-get install -y zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
- sudo apt-get install -y libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
- sudo apt-get install -y libgl1-mesa-dev g++-multilib mingw32 tofrodos
- sudo apt-get install -y python-markdown libxml2-utils xsltproc zlib1g-dev:i386
- sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
- sudo apt-get install -y libncurses5-dev
- sudo apt-get install -y libncurses5-dev:i386
- sudo apt-get install -y gcc
- sudo apt-get install -y g++
- sudo apt-get install -y libxml-libxml-perl
- sudo apt-get install -y libswitch-perl
SUN-JAVA 1.6的环境安装方法请参考我的另一篇文章:
2. 安装开发相关的工具
- sudo apt-get update
- sudo apt-get install -y android-tools-fastboot
- sudo apt-get install -y android-tools-adb
- sudo apt-get install -y meld filezilla
- sudo apt-get install -y nautilus-open-terminal
- sudo apt-get install -y pcmanfm
- sudo apt-get install -y ctags
- sudo apt-get install -y vim
- sudo apt-get install -y kdesvn
- sudo apt-get install -y subversion
- sudo apt-get install -y iptux
- sudo apt-get install -y rdesktop
- sudo apt-get install -y samba
- sudo apt-get install -y wine
- sudo apt-get install -y libnss3-1d
- sudo apt-get install -y libxft2:i386