dotnet / dotnet/android

Add AVD skin enumeration API

Open
#12,079 0 comments 0 reactions 0 assignees View on GitHub
android-tools needs-triage
Dominant language
C#
Stars
2.1k
Forks
579
Avg merge
1d 21h
Merged PRs (30d)
257

Description

## Summary

Add a method to list available Android emulator skins from the SDK's `skins/` directory and system image skin directories.

## Motivation

When creating AVDs programmatically, consumers need to present available skins to the user. Currently there's no API in `Xamarin.Android.Tools.AndroidSdk` to enumerate skins — consumers must manually scan `\/skins/` and system image directories.

This is needed by tools like MAUI Sherpa and IDE extensions that provide a GUI for AVD creation with skin selection.

## Proposed API

`csharp
public Task> ListAvdSkinsAsync(
CancellationToken cancellationToken = default);
`

This would scan:
- `\/skins/` for standalone skins
- System image directories for bundled skins

## Related

- dotnet/android-tools#321 (device profile enumeration)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.