镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add AVD skin enumeration API #12079

Closed as not planned
Closed as not planned

Description

@rmarinho

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<IReadOnlyList<string>> ListAvdSkinsAsync( CancellationToken cancellationToken = default);

This would scan:

  • \/skins/ for standalone skins
  • System image directories for bundled skins

Related

Activity

  1. added
    android-toolsIssues migrated from dotnet/android-tools / relates to the xamarin-android-tools subtree
    on Jul 13, 2026
  2. jonathanpeppers commented on Nov 12, 2026

    @jonathanpeppers
    Member

    We are in the process of migrating these tools to the android CLI, and we are not sure this is the right API to add at this time. Draft PR #13529 shows an example implementation, but we are closing it without merging and closing this issue as not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    android-toolsIssues migrated from dotnet/android-tools / relates to the xamarin-android-tools subtreeneeds-triageIssues that need to be assigned.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions