title: Android sdk - install by hand
body: <p>I am trying to install android-studio, and setup android sdk.</p>
  
  <p>Since <code>dl.google.com</code> is blocked from my area, I had setup a proxy for sdk manager, but even that it would get timeout when download some big package.</p>
  
  <p>e.g</p>
  
  <pre><code>Preparing "Install Android Support Repository (revision: 47.0.0)".
  Downloading https://dl.google.com/android/repository/android_m2repository_r47.zip
  https://dl.google.com/android/repository/android_m2repository_r47.zip
  "Install Android Support Repository (revision: 47.0.0)" failed.
  Preparing "Install Android SDK Tools (revision: 26.0.2)".
  Downloading https://dl.google.com/android/repository/sdk-tools-linux-3952940.zip
  https://dl.google.com/android/repository/sdk-tools-linux-3952940.zip
  "Install Android SDK Tools (revision: 26.0.2)" failed.
  Preparing "Install Android Emulator (revision: 26.1.2)".
  Downloading https://dl.google.com/android/repository/emulator-linux-4077558.zip
  https://dl.google.com/android/repository/emulator-linux-4077558.zip
  </code></pre>
  
  <p>But I could manually download these files according to links provided above.</p>
  
  <p>Say I already got <code>android_m2repository_r47.zip</code> on my disk, and the sdk is located at <code>/mnt/star/program/android/android-sdk</code>.</p>
  
  <p>Then what is the target dir to install these the uncompressed file?</p>
  
  <p><strong>BTW</strong>, I can recall that when eclipse is the default IDE for android the sdk could be downloaded directly. It would be nice if google could provide download for all-in-one sdk packages again, since some place on the earth still blocks google sites.</p>
  
  <p>Thanks.</p>