VS 2022 can't start Android Emulator

Chisa Kogano 50 Reputation points
2023-04-17T12:17:00.44+00:00

updated Visual Studio from 2019 to 2022. the emulators canot start.

Starting emulator pixel_5_-_api_33 ...
1>Waiting for emulator to be ready...
C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE -netfast -accel on -avd pixel_5_-_api_33 -prop monodroid.avdname=pixel_5_-_api_33
Emulator pixel_5_-_api_33 was stopped.
1>Starting deployment to pixel_5_-_api_33 ...
1>Starting emulator pixel_5_-_api_33 ...
1>C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE -netfast -accel on -avd pixel_5_-_api_33 -prop monodroid.avdname=pixel_5_-_api_33
1>Emulator pixel_5_-_api_33 was stopped.
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
{count} vote

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,831 Reputation points Microsoft Vendor
    2023-04-18T02:10:39.42+00:00

    Hello,

    Have you tried the following workaround?

    • Click Tools in the Android SDK Manager, does Android Emulator needs to be updated?
    • If not, you could install a new emulator and rebuild your project.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    3 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. J. Arturo Avilés Nuñez 0 Reputation points
    2024-02-03T04:30:44.5133333+00:00

    I had the same problem, to fix it create a new instance of an Android device but don't edit it afterwards. Somehow that causes the emulator to stop working with visual studio.

    User's image

    0 comments No comments