adding "Third Party Add-ons" source to the Android SDK and AVD Manager?

1,663 views
Skip to first unread message

skyred

unread,
Dec 7, 2010, 8:55:28 PM12/7/10
to Android Contributors
Any documentation for adding "Third Party Add-ons" source to the
Android SDK and AVD Manager? Or can this feature be added to the
wishlist?

Xavier Ducrohet

unread,
Dec 8, 2010, 1:48:42 AM12/8/10
to android...@googlegroups.com
There's no built-in add-on list in the SDK updater. Instead the SDK
updater downloads a file from our (Google) servers which contains the
list of 3rd party add-on sites. This allows us to update the list
without releasing new tools.

If you are a manufacturer with shipping phones and SDK add-ons and
wish to link your add-on repository in the SDK updater, please contact
us.

Note that the repository must be an XML file using the following
schema: http://android.git.kernel.org/?p=platform/sdk.git;a=blob;f=sdkmanager/libs/sdklib/src/com/android/sdklib/repository/sdk-addon-1.xsd;h=8d842054013622a16fa4446047e342d0aab125d4;hb=master

Xav

--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

skyred

unread,
Dec 8, 2010, 12:23:26 PM12/8/10
to Android Contributors
I am not a manufacturer. I am just trying to build an open source
library to bridge Android and Drupal https://github.com/skyred/DrupalCloud
. For cases like mine, it does not make sense to include this source
on the Google server and make it available to everyone. How about a
feature to let developer add additional source to their local SDK
manager/dev environment? Is this a legit wishlist request?

On Dec 8, 1:48 am, Xavier Ducrohet <x...@android.com> wrote:
> There's no built-in add-on list in the SDK updater. Instead the SDK
> updater downloads a file from our (Google) servers which contains the
> list of 3rd party add-on sites. This allows us to update the list
> without releasing new tools.
>
> If you are a manufacturer with shipping phones and SDK add-ons and
> wish to link your add-on repository in the SDK updater, please contact
> us.
>
> Note that the repository must be an XML file using the following
> schema:http://android.git.kernel.org/?p=platform/sdk.git;a=blob;f=sdkmanager...

Xavier Ducrohet

unread,
Dec 8, 2010, 7:31:19 PM12/8/10
to android...@googlegroups.com
add-ons only provide a way to expose APIs that exitst on devices, and
to provide custom system image to represent what an actual device is
running.

For instance the Google APIs add-on expose the MapView API. The
MapView library is present on the device, and the API in the add-on is
only used to compile. It's not bundled with the app.
the add-on also contains a custom system image that contains the
library for testing purpose.

If all you want is to add an extra library to your SDK projects, why
not just drop a jar in your projects? (or reference an Android Library
Project seems the github project you linked to seems to be an Android
project). You don't really need any SDK feature to do that.
Am I misunderstanding what you're trying to do?

Xav

Raphaël Moll

unread,
Dec 8, 2010, 8:39:31 PM12/8/10
to android...@googlegroups.com
What Xav said.

If you have an addon or an extra package that you want to see in the
SDK Manager, you can just use the "Add Add-on Site" button in the
Available Package. This lets you add a URL to an XML in the format
indicated earlier. The purpose of that feature is to add an URL
pointing to a manufacturer's repository in case it's not listed in the
default list.

However it's not clear that will solve whatever you're trying to
achieve, and it's not clear what you really want to do in the first
place.

R/

skyred

unread,
Dec 9, 2010, 4:45:47 PM12/9/10
to Android Contributors
OK. Thanks for the clarification about the "add-on". I misunderstood
their usage. The recommendations from both of you give me a better
understanding, and I will work on restructuring the library.
> >> library to bridge Android and Drupalhttps://github.com/skyred/DrupalCloud
Reply all
Reply to author
Forward
0 new messages