How to get full package names from sdkmanager --list?

I am trying to use the Android SDK Manager to install a system image. However, when I use tools/bin/sdkmanager --list, the output I get looks like this (truncated for brevity):

Available Packages:
  Path                              | Version      | Description                      
  -------                           | -------      | -------       
...
system-images;a...-15;default;x86 | 4            | Intel x86 Atom System Image      
system-images;a...pis;armeabi-v7a | 5            | Google APIs ARM EABI v7a Syste...
system-images;a...google_apis;x86 | 5            | Google APIs Intel x86 Atom Sys...
system-images;a...ult;armeabi-v7a | 4            | ARM EABI v7a System Image        
system-images;a...16;default;mips | 1            | MIPS System Image                
system-images;a...-16;default;x86 | 5            | Intel x86 Atom System Image      
system-images;a...pis;armeabi-v7a | 5            | Google APIs ARM EABI v7a Syste...
system-images;a...google_apis;x86 | 5            | Google APIs Intel x86 Atom Sys...
system-images;a...ult;armeabi-v7a | 5            | ARM EABI v7a System Image        
system-images;a...17;default;mips | 1            | MIPS System Image                
system-images;a...-17;default;x86 | 3            | Intel x86 Atom System Image      
system-images;a...pis;armeabi-v7a | 5            | Google APIs ARM EABI v7a Syste...
...

Unfortunately, I cannot use the path for this form to install.

sdkmanager system-images;a...-17;default;x86 
Failed to find package system-images;a...ult;armeabi-v7a

How can I get the long form of the package name so that I can install it?

+4
source share
1 answer

Another answer noted that you can use the --listand flags --verbosecombined in later versions sdkmanager(starting from version 26.0.1).

, android_sdk, (\ /) . , , , ...

+4

Source: https://habr.com/ru/post/1680584/


All Articles