title: Error while Downloading Android Source code
body: <p>I am trying to download the android source code and for that I am following official documents provided on source.android.com, using command :- </p>
  
  <pre><code>repo init -u https://android.googlesource.com/platform/manifest -b android-5.0.0_r1
  </code></pre>
  
  <p>or </p>
  
  <pre><code>repo init -u https://android.googlesource.com/platform/manifest 
  </code></pre>
  
  <p>but I am getting following error :-</p>
  
  <pre><code>fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
  fatal: error [Errno -2] Name or service not known
  </code></pre>
  
  <p>I am not able to figure out where I am doing it wrong !!
  any lead is appreciated.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I went ahead with following command :-</p>
  
  <pre><code>repo init -u https://android.googlesource.com/platform/manifest -b android-4.4_r1
  </code></pre>
  
  <p>and then executed <code>repo sync</code> , everything was working fine but at last i got this error :-</p>
  
  <pre><code>100 10.8G  100 10.8G    0     0   259k      0 12:12:36 12:12:36 --:--:--  895k
  remote: Sending approximately 10.88 GiB ...
  remote: Counting objects: 46, done
  remote: Finding sources: 100% (40/40)
  error: RPC failed; result=56, HTTP code = 200 | 915.00 KiB/s      
  fatal: The remote end hung up unexpectedly
  fatal: early EOF
  fatal: index-pack failed
  remote: Sending approximately 10.88 GiB ...
  remote: Counting objects: 46, done
  remote: Finding sources: 100% (40/40)
  error: RPC failed; result=56, HTTP code = 200 | 881.00 KiB/s      
  fatal: The remote end hung up unexpectedly
  fatal: early EOF
  fatal: index-pack failed
  error: Cannot fetch device/lge/hammerhead-kernel
  </code></pre>
  
  <p>any lead on this is appreciated !!</p>