Search code examples
androidgitversion-controlrepositoryandroid-source

Why can't I see any android source files in working Directory?


I'm downloading Android source code using the following command.

repo init -u https://android.googlesource.com/platform/manifest -b Android-4.1.2_r1
repo sync

I've almost downloaded about 1.4 GB of files, but there is no source code in working directory. Working Directory has only one folder ".repo" (Which is about 1.4 GB and does not seem to include source code).

Is this correct way to download android source code? If not, where am I going wrong?


Solution

  • Finally Got answer.This is working as it should!

    First it fills up .repo folder, which can be huge(10 GB). Only after that repo script downloads android source code.

    References:

    1. After Repo sync, there are no files in the directory

    2. What are the purpose of the bare git repositories in .repo/projects/ created by the Android repo script?