Unable to Start .NET MAUI Application on Android Emulator: 'Waiting for Debugger' Message

Arnab Mukherjee 40 Reputation points
2025-01-26T16:47:47.4666667+00:00

Hi,

I am encountering an issue when trying to start my .NET MAUI application on the Android emulator. Upon launching the app, I receive a pop-up message stating:

"Application [AppName] (process package-name) is waiting for the debugger to attach."

The emulator is unable to proceed past this point, and the app remains in a waiting state. I have tried restarting both the emulator and Visual Studio, but the issue persists.

Here are the details:

.NET version: .NET 9

Android Emulator version: Pixel_7_api_34

Requesting for the help here.

User's image

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,686 Reputation points Microsoft Vendor
    2025-01-27T02:12:32.93+00:00

    Hello,

    This situation is caused by some problem inside the emulator, such as cache full, network problem, memory problem, etc., which makes adb unable to attach the debugging process to the emulator.

    Workaround:

    To solve this problem, you need to delete the emulator and recreate the Android emulator after restarting Visual Studio.

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.