android source code download

   Since foreign websites are blocked, all provided here are only domestic download methods

   1. apt-get install git-core curl #download tool

    2. Domestic repo

    curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo >./repo

     3. chmod a+x repo #Set the script to be executable

  4. Domestic source code download address
  $ repo init -u git:// git.omapzoom.org /platform/manifest.git
    If you want to get each tag, such as 2.3.5, you can execute:
     $ repo init -u git:// git.omapzoom.org /platform/manifest.git -b android-4.4.4_r1
   If you don't know the name of the specific tag, you can visit http://git.omapzoom.org in the browser and click the link /platform/manifest.git above , then you can see all the tag names.
    During the repo init process, you may need to fill in some personal information, just fill it in directly.
    After configuring the repo, execute ./repo sync to download the source code you need.
      Open the manifest.xml file in the .repo directory (command vim manifest.xml) and find the fetch attribute, display fetch=".." in my file, and modify fetch to fetch=" git: //git.omapzoom. org /", save and exit;
    6. Continue to ./repo sync to download.
     Reference address: http://blog.sina.com.cn/s/blog_70b9730f01016peg.html
                       http://blog.chinaunix.net/uid-21843387-id-2943616.html
                       http://blog.csdn.net/liangxiaozhang/article/details/19543261

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326486966&siteId=291194637