.NET MAUI cannot find Android emulators on Mac OS 15

Wei Wen 1,121 Reputation points
2024-10-28T20:06:01.9466667+00:00

I recently updated Mac OS to Sequoia (15). After I opened my .NET MAUI project in VS Code and waited for all checks to finish, I selected ".NET MAUI: Pick Android Device" from Command Palette, but there was nothing for me to choose from. I have created one Android emulator from Android Studio. Choosing Android devices used to work before the Mac OS update.

I have Cisco Secure Client enabled. So I think it may have something to do with that too.

For a Flutter project that I tested, I also couldn't run Android. There the issue was that somehow the adb could not start when APN was enabled. This was shown when running flutter doctor. But if I ran "ADB_MDNS_OPENSCREEN=0 adb start-server" on the command line before I ran flutter, the problem was solved. In .NET MAUI, this does not solve the problem, and there are no error logs.

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

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.