Search code examples
android-emulatormaui

Android Emulator says "...App isn't responding"


After displaying a new Dialog (actually it is a ContentView) my Android Emulator says "...App isn't responding" with a "Close App"- and a "Wait"-Button.

Is this probably something I screwed up or is this an Emulator related issue? Is there anything I can do to prevent or fix this?

I am a bit affraid that is my fault with something I did not handle correctly so that the App runs into issues on the real device not just the emulator.

I am working with VS 2022 and the "Pixel 5 - API 33 (Android 13.0 - API 33)" Emulator started in Debug of VS.

Any hints?


Solution

  • My app was very simple and it worked on physical devices without any problems. But on an emulator, I was receiving this message every couple of seconds ("App isn't responding").

    My emulator was set to have only 1 GB of RAM. I increased the amount to 2GB and the problem disappeared. I was emulating Pixel 5 with API 33.