I am attempting to add a User Defined Site to a headless installation of the android sdk.
I am able to get selective package updates working. Examples of what I am doing: http://tools.android.com/recent/updatingsdkfromcommand-line
"android update sdk" on headless linux
How to setup Android sdk from command-line on headless server?
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
./android list sdk
However, I can not find a way to actually add the site to the list of sources without going through the GUI.
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.