to build android 2.3.4 on ubuntu 11.10 64bit

本文详细介绍了在存在Windows系统的情况下安装Ubuntu的最佳方式,包括DVD安装、USB安装以及使用wubi的安装方法。同时提供了构建Android 2.3.4所需的一系列包安装命令,涉及Java、Git、构建工具等关键组件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

About installing Ubuntu with Windows in existence.

  The most ideal way is to install it by DVD. Secondly we can install it by USB.

  If neither method work, we have to install it in Windows, using wubi. Wubi will download Ubuntu iso itself, which will be the current version. No choice. The system might be chosen to be in Chinese by default to support character set automatically.

 

To build Android 2.3.4.

  1. install packages described in source.android.com/source/initializing.html
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jdk
    sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl sun-java5-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
    the command above should prompt two packages to be changed. do it as asked.
  2. install older version of gcc & g++.
    sudo apt-get install gcc-4.4
    sudo apt-get install g++-4.4
    sudo apt-get install g++-4.4-multilib
  3. configure different versions of gcc & g++. use following line to see what versions installed, such as gcc
    ls /usr/bin/gcc* -l
    use following commands to add different versions, such as gcc
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 40
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60
    choose to use old version, such as gcc
    sudo update-alternatives --config gcc
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值