ubuntu配置Android指南

4 篇文章 0 订阅
3 篇文章 0 订阅
您还未登录!|登录|注册|帮助
CSDN首页资讯论坛博客下载搜索更多CTO俱乐部学生大本营培训充电移动开发软件研发云计算程序员TUPgracioushe的专栏
条新通知
登录注册欢迎
退出
我的博客
配置
写文章
文章管理
博客首页
全站 当前博客 空间博客好友相册留言用户操作
[留言]  [发消息]  [加为好友] 
何波ID:gracioushe

共8823次访问,排名19335,好友5人,关注者12人。
","qq":"
何波的文章
原创 84 篇
翻译 0 篇
转载 171 篇
评论 4 篇
订阅我的博客
    



[编辑]gracioushe的公告
[编辑]文章分类
IA Core
kernel与Android
Linux应用
Python和Per以及Makefile
Windows应用
版本管理
高通展讯MStar相关
存档
2011年04月(1)
2011年03月(15)
2011年02月(19)
2011年01月(33)
2010年12月(6)
2010年11月(11)
2010年10月(21)
2010年09月(149)
公告:
祝贺2011年4月当选微软最有价值专家的会员[意见反馈][官方博客]   如何配置ubuntu 64安装环境(转自source.android.com) 收藏

Linux
The Android build is routinely tested on recent versions of Ubuntu (6.06 and later), but reports of successes or failures on other distributions are welcome.

Ubuntu Linux (32-bit x86)
To set up your Linux development environment, make sure you have the following:
•Required Packages:
•Git 1.5.4 or newer and the GNU Privacy Guard.

• 
•JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
• 
•flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.
$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev

•You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.
$ sudo apt-get install valgrind

•Intrepid ( 8.10) users may need a newer version of libreadline:
$ sudo apt-get install lib32readline5-dev
Ubuntu Linux (64-bit x86)
This has not been as well tested. Please send success or failure reports to android-porting@googlegroups.com .
The Android build requires a 32-bit build environment as well as some other tools:
•Required Packages:
•Git, JDK, flex, and the other packages as listed above in the i386 instructions:

•JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
•Pieces from the 32-bit cross-building environment
•X11 development
$ 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
•Set the system to use the right version of java by default:

$ sudo update-java-alternatives -s java-1.5.0-sun
•X11: Ubuntu doesn't have packages for the X11 libraries, but that can be worked around with the following command:

$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值