title: "User Defined Sites" in Android SDK Manager via Command Line
body: <p>I am attempting to add a User Defined Site to a headless installation of the android sdk.</p>
  
  <p>I am able to get selective package updates working. Examples of what I am doing:
  <a href="http://tools.android.com/recent/updatingsdkfromcommand-line" rel="nofollow noreferrer">http://tools.android.com/recent/updatingsdkfromcommand-line</a></p>
  
  <p><a href="https://stackoverflow.com/questions/2157089/android-update-sdk-on-headless-linux">&quot;android update sdk&quot; on headless linux</a></p>
  
  <p><a href="https://stackoverflow.com/questions/2684296/how-to-setup-android-sdk-from-command-line-on-headless-server">How to setup Android sdk from command-line on headless server?</a></p>
  
  <p>This works fine, but I need to load a user-defined site into the sdk. If I load it via the GUI, then the packaged provided by the add-on site will be displayed when you do</p>
  
  <pre><code>./android list sdk
  </code></pre>
  
  <p>However, I can not find a way to actually add the site to the list of sources without going through the GUI.</p>
  
  <p>The "User Defined Sites" is brought up by selecting Tools->Manage Add-on Sites in the Android SDK Manager and selecting the User Defined Sites tab.</p>