Skip to content

Error when booting an emulator #358

@jonathanpeppers

Description

@jonathanpeppers

I think this was a broken emulator I selected, but it fails with:

    D:\dotnet-sdk-11.0.100-preview.4.26230.115-win-x64\packs\Microsoft.Android.Sdk.Windows\36.99.0-preview.4.137\targets\Microsoft.Android.Sdk.Application.targets(84,5): error XABAE7009: 
      System.InvalidOperationException: No process is associated with this object.
         at System.Diagnostics.Process.EnsureState(State state)
         at System.Diagnostics.Process.get_HasExited()
         at System.Diagnostics.Process.EnsureState(State state)
         at System.Diagnostics.Process.get_ExitCode()
         at Xamarin.Android.Tools.EmulatorRunner.BootEmulatorAsync(String deviceOrAvdName, AdbRunner adbRunner, Emulat
      orBootOptions options, CancellationToken cancellationToken)
         at Xamarin.Android.Tasks.BootAndroidEmulator.ExecuteBootAsync(String adbPath, String emulatorPath, Action`2 l
      ogger, String device, EmulatorBootOptions options, CancellationToken cancellationToken)
         at Xamarin.Android.Tasks.BootAndroidEmulator.RunTaskAsync()

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions