-
Notifications
You must be signed in to change notification settings - Fork 580
Add AVD skin enumeration API #12079
Copy link
Copy link
Open
Labels
android-toolsIssues migrated from dotnet/android-tools / relates to the xamarin-android-tools subtreeIssues migrated from dotnet/android-tools / relates to the xamarin-android-tools subtreeneeds-triageIssues that need to be assigned.Issues that need to be assigned.
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
android-toolsIssues migrated from dotnet/android-tools / relates to the xamarin-android-tools subtreeIssues migrated from dotnet/android-tools / relates to the xamarin-android-tools subtreeneeds-triageIssues that need to be assigned.Issues that need to be assigned.
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.AndroidSdkto 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 skinsRelated