android 下载编译环境配置简要

1. curl http://android.git.kernel.org/repo >~/bin/repo
chmod a+x ~/bin/repo


2.安装java sdk
sudo add-apt-repository "deb  http://archive.canonical.com/ lucid partner"
sudo add-apt-repository "deb  http://archive.canonical.com/ubuntu lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk

3. 安装库
sudo apt-get install -y git-core gnupg flex bison gperf build-essential zip curl libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z1-dev zlib1g-dev libglib2.0-dev g++-multilib

1》问题: glib-mkenums: command not found
解决:sudo apt-get install libglib2.0-dev


2》
sudo apt-get install g++-multilib
http://www.linuxidc.com/Linux/2011-04/34632.htm

你可能感兴趣的:(java,android,command,Flex)