Heres a python method I use to download the ones I 
want. https://gist.github.com/kylefowler/af70577410cf799b7491

The first part lists all of the available ones.

On Wednesday, March 26, 2014 1:57:57 AM UTC-7, Przemek Jakubczyk wrote:
>
> I agree that using the ids isn't best idea. In my plugin I'm using names 
> and it just works.
>
> You can check source code here
>
> https://github.com/pjakubczyk/android-sdk-plugin/blob/master/android-sdk-plugin/src/main/groovy/org/jakubczyk/androidsdk/AndroidSdkPlugin.groovy
>
> It automatically downloads SDK, build tools and google play repository.
>
> W dniu środa, 19 marca 2014 21:54:40 UTC+1 użytkownik Mike Grafton napisał:
>>
>> Beware of those IDs. In my experience, those numbers are not permanent 
>> IDs, but change over time as the list changes. Also, some of the string 
>> values actually refer to multiple things (for instance sysimg-19 will 
>> download both the ARM and x86 system images).
>>
>> Mike
>>
>>
>> On Wed, Mar 19, 2014 at 1:31 PM, Jake Wharton <[email protected]> wrote:
>>
>>> On Wed, Mar 19, 2014 at 1:27 PM, Michael Barany <[email protected]>wrote:
>>>
>>>> Have you tried the following?
>>>> *android list sdk --no-ui --all --extended*
>>>>
>>>
>>> No. Hence the email!
>>>  
>>>
>>>> First line says something like:
>>>> *id: 92 or "extra-google-m2repository"*
>>>>
>>>
>>> Perfect. Thanks!
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "adt-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to