# MauiAndroidEmulatorResource Constructors

- Package: [Aspire.Hosting.Maui](/reference/api/csharp/aspire.hosting.maui.md)
- Type: [MauiAndroidEmulatorResource](/reference/api/csharp/aspire.hosting.maui/mauiandroidemulatorresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents an Android emulator for running a .NET MAUI application.

## MauiAndroidEmulatorResource(string, MauiProjectResource)

- Name: `Constructor(string, MauiProjectResource)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Maui/MauiAndroidEmulatorResource.cs#L14-L19)

A resource that represents an Android emulator for running a .NET MAUI application.

```csharp
public sealed class MauiAndroidEmulatorResource
{
    public MauiAndroidEmulatorResource(
        string name,
        MauiProjectResource parent)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the Android emulator resource.
- `parent` ([MauiProjectResource](/reference/api/csharp/aspire.hosting.maui/mauiprojectresource.md))
  The parent MAUI project resource.
