Where is Android 4.1 (Jelly bean) source code?

落花浮王杯 提交于 2019-12-11 10:34:42

问题


I am looking for Android 4.1(jelly bean) source code. Over the internet there are lots of blog mentioning that source code has been published. But I couldn't figure out where.

I looked here http://source.android.com/ , But it is showing source code for Android 4.0. I downloaded the whole repo but couldn't fine the 4.1 branch. Am I missing something here?

Can Any one help me to find the source code?

EDIT
Until now source.android.com is not update with the latest download instructions. If I use the command suggested by "Landervdb" then it works. I also found some more resources for Android source code. These are given below.
Androidxref.com
github.com

For more information you can also check post on Android jelly bean source code.


回答1:


I currently don't have access to a linux box where I can test this, but I can see the manifest for Jelly Bean on the AOSP website. You should be able to download the source by issuing the following commands:

repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r3
repo sync

For a more detailed description, please refer to http://source.android.com/source/downloading.html. This document has not been updated for Jelly Bean but it should work, just replace the version numbers where appropriate.




回答2:


Android 4.1 is already available through

repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r1



来源:https://stackoverflow.com/questions/11618907/where-is-android-4-1-jelly-bean-source-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!