skip to Main Content

I am testing a flutter app in the emulator in Android Studio. The app and emulator had no issues a few days ago. Suddenly, the app is painfully slow in a couple of areas:

  • The emulator no longer auto-boots the app. After Installing build/app/outputs/flutter-apk/app.apk..., nothing happens. But the app is installed, and if the app is run manually, the debugger starts logging.
  • On initial load where the user logs in to firebase auth, or when already logged in and the app goes through that verification. This takes about 5-10 minutes on an emulator, and about two seconds on a physical device (and was previously this fast on the emulator).
  • Occasionally firestore realtime updates don’t happen, but are usually very slow

A few troubleshooting notes:

  • Emulator itself does not appear slow (i.e. no visible lag, and loading spinner is regular speed)
  • I have fully uninstalled Android Studio and reinstalled.
  • System has 8 core CPU, 64GB RAM, modern GPU, SSD
  • Emulator device is allocated 8GB RAM, 512MB heap, 3GB local storage
  • Android studio and plugins are latest version
  • Emulator network speed is set to full
  • This issue occurs on Windows. It runs normally on Mac Android Studio Emulator

2

Answers


  1. Chosen as BEST ANSWER

    This issue appears to be fixed with the latest stable Android Emulator release, v31.3.11-9058569.


  2. It’s the issue with the recent versions of Android Emulator on Windows platform. Downgrade the version of Android Emulator to 31.2.9.
    You can download it from here.

    Procedure of manual installation of custom version of Android Emulator is given in the link above.

    Edit: This issue is fixed in latest version(31.3.x) of Android Emulator.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search