'Android Studio AVD always Cold Boots
I am running Android Studio 2021.1.1 patch 3 (just updated from a previous version) on Windows 10.
I have a Pixel 2 API 30 AVD that I use a single app in. Recently, the app crashed, and made the emulated phone unusable, so I had to go in to the AVD manager and select the "Cold Boot Now" option.
After cold booting once, the AVD will now ONLY cold boot, no matter the setting. If I choose "cold boot" under the advanced settings of the AVD, it cold boots as expected. If I choose "quick boot", it always starts up with a cold boot and displays "Cold Boot Based On User Configuration" and I have to click the message for it to continue to boot.
Any suggestions on what might be going wrong or how to fix it? Prior to this, all I had to do was click the "x" to close the emulator, and it would start right back up where I left off. However, because it is cold booting every time I now am no longer able to save or carry over any information from my previous session.
Edit: Upon further investigation, there is a configuration file called quickbootChoice.ini that controls this. It contains a single line saveOnExit = false
I can manually edit it to "true" and it will save the state a single time, but then re-writes it as "false" when I exit. I no longer have the "cold boot" issue, but now I am stuck starting up at the last manually edited save.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|