Ubuntu12.04搭建MTKandroid编译环境工具/原料ubuntu-10.04.4-desktop-amd64.iso方法/步骤1安装ubuntu10.04.4,可以使用虚拟机安装2、更新ubuntu源,使用的updatemanager的设置更改的,选取的是163源2安装编译环境,使用如下命令sudoapt-getinstallgit-coregnupgflexbisongperfbuild-essentialzipcurlzlib1g-devlibc6-devlib32ncurses5-devia32-libsx11proto-core-devlibx11-devlib32readline5-devlib32z-devlibgl1-mesa-devg++-multilibmingw32tofrodospython-markdownlibxml2-utilsxsltproc3、安装配置openjdk71.Runbelowapt-getcommandtoinstallthepackage$sudoapt-get-yinstallopenjdk-7-jdk2.Runbelowupdate-alternatives--configjavacommandtosetopenJDK1.7environment$sudoupdate-alternatives--configjavaThereis1choiceforthealternativejava(providing/usr/bin/java).SelectionPathPriorityStatus------------------------------------------------------------0/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java1051automode*1/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java1051manualmodePressentertokeepthecurrentchoice[*],ortypeselectionnumber:1$java-versionjavaversion1.7.0_111OpenJDKRuntimeEnvironment(IcedTea2.6.7)(7u111-2.6.7-0ubuntu0.12.04.2)OpenJDK64-BitServerVM(build24.111-b01,mixedmode)4、build系统