最新android 应用源码下载

https://android.googlesource.com/platform/manifest/+refs
下载各个版本的的应用清单文件default.xml(里面有各个应用的标识),
然后使用:
git clone -v https://android.googlesource.com/(应用的名称name)C:/android/(指定下载路径)

eg:
git clone -v https://android.googlesource.com/platform/packages/apps
/Phone  C:\Users\yhte\Desktop\android\adt-bundle-windows-x86_64-20130729\sdk\platforms\android-18\source\Phone

  git clone -v https://android.googlesource.com/platform/frameworks/base  C:\Users\yhte\Desktop\android\adt-bundle-windows-x86_64-20130729\sdk\platforms\android-18\source

ps:偶尔联不上不要见怪

给大家介绍一款Eclipse的插件Android Sources。它已经内置集成了Android 4.0.1, 2.3.4, 2.3, 2.2, 2.1, 2.0.1, 1.6 和 1.5版本的source zip包,并且在安装完成后自动帮你把Source attachment做好了,而SDK中自带的Android 4.0以后的Source folder,也一并帮你做好了关联,你所需要的仅仅是点击你所需要查看的内容,然后就能跳进对应的源码中进行查看。

首先进入Eclipse Install New Software,点击Add,名字输入让你能想起这个插件作用的名字,然后在Location的地方输入 http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/

猜你喜欢

转载自zaq369cde.iteye.com/blog/1937944
今日推荐