Issue
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
Solution
This issue appears to be fixed with the latest stable Android Emulator release, v31.3.11-9058569
.
Answered By - user11015833
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.