详细的步骤参考:http://source./source/download.html Java 6: for Gingerbread and newer sudo add-apt-repository "deb http://archive./ lucid partner" sudo add-apt-repository "deb-src http://archive./ubuntu lucid partner" sudo apt-get update sudo apt-get install sun-java6-jdk sudo update-java-alternatives -s java-6-sun Java 5: for Froyo and older sudo add-apt-repository "deb http://archive./ubuntu dapper main multiverse" sudo add-apt-repository "deb http://archive./ubuntu dapper-updates main multiverse" sudo apt-get update sudo apt-get install sun-java5-jdk sudo update-java-alternatives -s java-1.5.0-sun 2) install other packages $ 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 ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev P.S: ubuntu进行packages update后,再执行与windows下的文件共享,出现mount错误: /sbin/mount.vboxsf:mounting failed with the error:no such device; 而且copy ubuntu下的东西,不能直接复制到windows下了; 原因还不知道。 补充: 问题解决:运行VBOXADDITION,就可以了! 导入VBoxGuestAdditions.iso: vbox下设置——>Storage——>在IDE控制器下添加一个新的虚拟光驱,选择“choose disk”,导入iso; |
|
来自: 00lacey00 > 《Android编译》