您的位置:首页 > 移动开发 > Android开发

如何知道我下载的android源码是哪个版本的

2012-01-07 15:16 337 查看
如何知道我下载的android源码是哪个版本的,比如2.1.还是2.2等

先行谢过
回复
1# guopeixin


能把源码发我邮箱吗?急用 liaojianguo1984@gmail.comliao_1984@163.com
你make一下,在出来的编译信息里面能看到platfrom version
回复
2# liao_19840826


急着干啥?

好多个G呢,可以从网上download到,方法可以在网上找到
回复
3# wu.dong


多谢

编译的时候从makefile的信息中确实可以看到,另外还可以从git中查询,或者到build/core/default_version中去查询plaform_version的定义值
学习了
git tag
或者是在你repo init -u git://android.git.kernel.org/platform/manifest.git -b *****,这里的****就表示你的版本号,比如说cupcake(Android 1.5),froyo(Adnroid 2.2)等等
或者是在你repo init -u git://android.git.kernel.org/platform/manifest.git -b *****,这里的****就表示 ...

Fendy 发表于 2010-6-18 18:05



请问大哥,这是在linux环境下才有的选项吧,我在windows下找不到这些内容

小弟是新手,还望指导一下:L
build/core/default_version中查询plaform_version的定义值
同上
不能选择版本下载吗?
一make就知道了
git的时候选择分支 -b eclair

windows下用cygwin来下源码,道理是一样的,如果不习惯,就装个虚拟机VirtualBox,然后再装个ubuntu,一样下,下载步骤网上有的是
.repo/manifest.xml也可以看
==== http://www.buildapp.net/android/show.asp?id=46026
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Android Platform Overview

Our sister site, developer.android.com, includes feature overviews of the various Android platform versions. The links below will take you to developer.android.com where you can view this
information.

The links below will navigate you away from this site.


Android 4.0

Android 4.0 corresponded to the "IceCreamSandwich" milestone branch, and has an API level of 14.


Android 2.3

Android 2.3 corresponded to the "Gingerbread" milestone branch, and has an API level of 9. In versions 2.3.3 and higher, the API level is 10.


Android 2.2

Android 2.2 corresponded to the "FroYo" milestone branch, and has an API level of 8.


Android 2.1

Android 2.1 corresponded to the "Eclair" milestone branch, and has an API level of 7.

The Eclair branch was also used for 2.0 and 2.0.1; however, both of those releases were quickly obsoleted by the version 2.1 Eclair release. As Android 2.1 includes key bug fixes and improvements not present in 2.0/2.0.1, only Android 2.1 should be used for
new devices. As there is no compatibility program for 2.0 or 2.0.1, the officially compatible Eclair-based release is Android 2.1. (The linked document refers to Android 2.0, because there were no new platform features added in 2.1.)


Android 1.6

Android 1.6 corresponded to the "Donut" milestone branch, and has an API level of 4.


Android 1.5

Android 1.5 corresponded to the "Cupcake" milestone branch, and has an API level of 3.


Android 1.1

Android 1.1 has an API level of 2. Android 1.1 was known as "Petit Four" internally, though this name was not used officially.


Android 1.0

was the first release of Android, and has an API level of 1. Since it was the first released version of Android, no platform highlights were prepared for this release.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: