免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ubuntu9.10下获取android源码首先根据/download网页上的描述可知,源码大概有2.1gb,需要6gb空间才能编译,因为我是在虚拟机上装的ubuntu9.10,所以虚拟机至少要有10gb空间。粗体,下划线部分是我安装中遇到的一些问题,或者重点关注的地方首先需要安装开发环境,需要如下包: required packages: git 1.5.4 or newerand the gnu privacy guard. jdk 5.0, update 12 or higher. java 6 is not supported, because of incompatibilities with override./只能用jdk5,jdk6不能兼容override flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl. $ sudo apt-get installgit-core gnupgsun-java5-jdkflex bison gperflibsdl-dev libesd0-devlibwxgtk2.6-dev build-essential zipcurl 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 valgrindubuntu9.10的安装源已经没有jdk5了,所以需要用到9.04的安装源修改etcaptsources.list把9.04的源:deb/ubuntu/jaunty main restricted universe multiversedeb-src/ubuntu/jaunty main restricted universe multiversedeb/ubuntu/jaunty-updates main restricted universe multiversedeb-src/ubuntu/jaunty-updates main restricted universe multiversedeb/ubuntu/jaunty-backports main restricted universe multiversedeb-src/ubuntu/jaunty-backports main restricted universe multiversedeb/ubuntu/jaunty-security main restricted universe multiversedeb-src/ubuntu/jaunty-security main restricted universe multiverseupdate之后,用sudo apt-get install sun-java5-jdk 即可像以往一样安装java 1.5安装后的基本设置:sudo update-alternatives -config javasudo update-java-alternatives -s java-1.5.0-sun这时候再用java -version就能看到java 1.5已经正常工作了接下来就是安装repoto install, initialize, and configure repo, follow these steps:1. make sure you have a/bindirectory in your home directory, and check to be sure that this bin directory is in your path: $ cd $ mkdir bin $ echo $path2. download thereposcript and make sure it is executable:$ curl /repo /bin/repo $ chmod a+x /bin/repo初始化repo1. create an empty directory to hold your working files:$ mkdir mydroid$ cd mydroid2. runrepo inittobring down the latest version of repo with all its most recent bug fixes. you must specify a url for the manifest:$ repo init-u git://platform/manifest.git 1. if you would like to check out a branch other than master, specify it with -b, like:$ repo init-u git://platform/manifest.git -b cupcake3. when prompted, configure repo with your real name and email address. if you plan to submit code, use an email address that is associated with agoogle account.a successful initialization will end with a message such as repoinitialized in /mydroidyour client directory should now contain a.repodirectory where files such as the manifest will be kept.获取代码to pull down files to your working directory from the repositories as specified in the default manifest, run $ repo syncfor more aboutrepo syncand other repo commands, seeusing repo and git.the android source files will be located in your working directory under theirprojectnames.验证代码load the following public key into your gnupg key database. the key is used to sign annotated tags that represent releases. $ gpg -importthen paste the key(s) below, and press control-d to end the input and process the keys. after importing the keys, you can verify any tag with $ git tag -vtagnamekey 9ab10e78: the android open source project -begin pgp public key block-version: gnupg v (gnu/linux)mqgibennwd4rbact9/h4v9xnngdou13y3dvox6/t43lppixej8ex9wb+8llurosvlfhphawsvacflmi7f7jdsrf+ovtzl9shpkdlfwbjmnku66/tzmpews4m782ndtw78tr1cxb197ob8kofqb3a9yk2xz4ei4zc3i6wvdqhlrxabdncwu5hof9kxwcgkxmdu4pvgchaajztyj1eg+uybiueajmfearb0qran7deoff0fexseaua6u90seovks0zwnj96sa8bl+a1ooeuufpmhihyluqsftxisjxth+2qclzdvidyatrkanjdyy7p2cq/hmdoy7ljlhaqtxmzxxjjtw5uc2qg8uy8aziu3ie9ntjswcxejnuyvoizl9/i1s5ju5sa/9wwips4sc84ielixigweqq6i6/sk4i9q1yemzf2xvvknmi1f4icmtnksr4mgsa1ga8s4iqbsknwpgp7m3a51jcvcu6l/8ztpa+uugapw4twcp4o0dpivdpbea9b/af/ygcr8mh5hgufpf9ipxdknosbkcvm9lssfrcietykzc4wrrcvghliefuzhjvawqgt3blbibtb3vyy2uguhjvamvjdca8aw5pdglhbc1jb250cmlidxrpb25ayw5kcm9pzc5jb20+igaeexecacafaknnwd4cgwmgcwkibwmcbbuccamefgidaqieaqixgaakcrdort+bmreoenr+aj42xy6tew7r3kzrjxnrx8mij9z8tgcdffqyihpyngki2t09ed+9bm4gmeo5ag0esedyrbaiakvw1jcmbwvv/0bo9wibyj9wj5swmn36/valqn4mwrhfzdok/rosdb0csao/l8kz0gkqpofobtyyjvi8jmc3rmi+livsut9806uphisyemmhv6u8gub/xhlianxgxwhyzjgeuaxvcsv+evopihby4l/kvp5x+ocjidbkc2b1tvvk9pryzme4bpiql/ntgr1olwm/uwr9zruftbne411aman3qnahbbmzzkmxlwbgwe0znfrrnczi5p49i2yzjajyx1p2wzmsck49cv82dzlo71mnrf6fj+udtb5+ogtg7cow+8pratkjew5y2jizpnruq0cyxamhyx79emkhdsthf/8aawuiajpwsb/mpk+kms/s3r6njrnyltfdzhtmqximpodmjg1zxml8ufnukiqz6esoawtdgpqt7y7skz8lahraronte394hidzzm5nb6hqvppjt2olprsyqvxw4c/ksjadtaukw9/d8phbn8btyojo856qg4ooezkg9eef7oaztyby33btl0408sebximior6b8lrzrahkqdjavuxrwm/ffkgpsoysxc6xi553cxbuch2omnv6ka1lnmwzsp9ilz8jegqmutkbszwog1s8fxge0lq3cddm/gj4qxp/p6liwnf99fadmtv3+2saogvytox6kjkvzkossfjqhn0dlsiw8hqjc0wisqqyeqiacqucsedyraibdaakcrdort+bmreoecuoaj9qmr0lexzeoxcdoafxqf6gzljzlacgkwf7wi2ylw3oa+jv2qstlrx4klm=wi5d-end pgp public key
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 山东省济宁市2025-2026学年物理高二第一学期期末统考模拟试题含解析
- 河北省衡水市故城县高级中学2025-2026学年高一上物理期末调研模拟试题含解析
- 宠物市场消费趋势及服务需求调查
- 防水卷材浸水后质量增加试验记录
- 毕设排版要求范文
- 施工材料管理制度15
- 10汉语言学年论文模板
- 《企业成本控制现状及其改进对策-以方太厨电为例》开题报告含提纲
- 自-数学教育专业本科毕业论文参考题目
- 本科审计学专业毕业论文题目审计专业参考选题
- 百果园合作合同协议书
- 2024年12月大学英语四级考试真题合集(共3套)
- 海上光伏电站施工安全管理方案
- 2026-2031年中国水利信息化服务行业市场发展趋势与前景展望战略研究报告
- 2025铝合金门窗的合同书范本
- 2025年人工智能导论考试及答案
- 施工现场各工种安全技术操作规程
- 2025年全国高校辅导员职业技能大赛笔试测试卷及参考答案(国赛版)(共3套)
- 2025年河北美术学院行政科员、辅导员招聘16人考试笔试参考题库附答案解析
- 加油站重大隐患检查表
- 北京离婚协议书模板
评论
0/150
提交评论