刚学android。
想请教如何在官网 http://source.android.com/source/downloading.html 下载android 2.2的源码已经安装了  git bash了是不是只要下载下面的文件就可以了呀$ git clone https://android.googlesource.com/kernel/common.git
$ git clone https://android.googlesource.com/kernel/goldfish.git
$ git clone https://android.googlesource.com/kernel/msm.git
$ git clone https://android.googlesource.com/kernel/omap.git
$ git clone https://android.googlesource.com/kernel/samsung.git
$ git clone https://android.googlesource.com/kernel/tegra.git
可是我刚下载了 common.git 没发现 android内部应用程序的一些源文件 都是些没看懂的东西。求解中。

解决方案 »

  1.   

    这些只不过是git文件,不是源码
    可以参考这个
    http://yuanzhifei89.iteye.com/blog/1117549
      

  2.   

    $ git clone https://android.googlesource.com/kernel/common.git
    $ git clone https://android.googlesource.com/kernel/goldfish.git
    $ git clone https://android.googlesource.com/kernel/msm.git
    $ git clone https://android.googlesource.com/kernel/omap.git
    $ git clone https://android.googlesource.com/kernel/samsung.git
    $ git clone https://android.googlesource.com/kernel/tegra.git这些是kernel source,不是你想看的android系统应用源代码
    zh请从官网这里  http://source.android.com/source/downloading.html  从头按照一步步来就可以了
      

  3.   

    按照 http://source.android.com/source/downloading.html步骤一点点来
      

  4.   


    我按步骤一步步来了 
     运行到$ repo init -u https://android.googlesource.com/platform/manifest
    上面这步的时候,出现如下问题,google了好久没解决,求教Traceback (most recent call last):
      File "c:/Documents and Settings/Administrator/bin/repo", line 91, in <module>
        import readline
    ImportError: No module named readline
      

  5.   

    The "Getting Started" section describes how to set up your local work environment, how to use Repo to get the Android files, and how to build the files on your machine. To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.你在windows操作系统下搞,能成功吗?还是装个linux虚拟机吧,或者直接装个ubuntu
      

  6.   

    可以安装cygwin来下载,我下载成功了。