Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7557381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:06:59+00:00 2026-05-30T12:06:59+00:00

I have a few questions regarding android source code download, repo / git. This

  • 0

I have a few questions regarding android source code download, repo / git.

This page says that The source download is approximately 6GB in size, but when I downloaded my directory size is 11GB. What did I do wrong?

I downloaded the source code using
repo init -u https://android.googlesource.com/platform/manifest
Does it download source code for all versions of Android? If so, I don’t see separate directories for different versions. How to check/list all available versions?

And what would have changed if I had used
repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1 instead?

Also repo branches outputs (no branches)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:07:01+00:00Added an answer on May 30, 2026 at 12:07 pm

    I can answer you for several your questions:

    The source download is approximately 6GB in size, but when I downloaded my directory size is 11GB. What did I do wrong?

    You did nothing wrong. Actually this source is not updated with new information. Now sources about 11Gb and if you build them they will take about 16 Gb.

    I downloaded the source code using repo init -u
    https://android.googlesource.com/platform/manifest Does it download
    source code for all versions of Android? If so, I don’t see separate
    directories for different versions.

    Android sources are under git version control system. They are separated in the number of projects. So to deal with all this project the Android team created a special tool called repo. You can read how to use it here.

    And what would have changed if I had used repo init -u
    https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
    instead?

    In the first case you’ll sync with the more recent version of Android. This version is not always stable. While in the latter case you switch to the tag that is assigned to a stable version. For instance, I guess now is the more recent version is 4.0.4… So in the first case you’ll download this more recent version (that are under development and actually developers post their code to this version), while in the latter case you will download 4.0.1 version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There have been a few questions regarding this issue before; my understanding is that
I have a few questions regarding android market(Google play). How can I list my
I have a few questions regarding sql server in android. Essentially, I am tring
I'm very new to TDD world. I have a few questions regarding TDD. Do
I have a few basic questions regarding the syntax and usage of properties in
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about cross-page posting in ASP.NET: What is cross-page posting
I have a few questions regarding JavaScript obfuscation on client side. First question :
I have a few questions regarding differentiation between const and non-const versions of methods
I am a beginner to networking and I have a few questions regarding networking.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.