Android avd模拟器-如何保存;是否要保存当前状态以供下次快速启动;在config.ini文件中
创建avd时,第一次启动它,然后尝试关闭仿真器,用户将收到一个对话框提示,内容如下:Android avd模拟器-如何保存;是否要保存当前状态以供下次快速启动;在config.ini文件中,android,emulation,avd,qemu,Android,Emulation,Avd,Qemu,创建avd时,第一次启动它,然后尝试关闭仿真器,用户将收到一个对话框提示,内容如下: Do you want to save the current state for the next quick boot? Note: Saving the snapshot may take longer because free RAM is low. 在启动模拟设备之前,我想将此参数保存在其config.ini文件中 但我不清楚是哪种选择 我尝试过的事情: 将这些行添加到config.ini fas
Do you want to save the current state for the next quick boot?
Note: Saving the snapshot may take longer because free RAM is low.
在启动模拟设备之前,我想将此参数保存在其config.ini
文件中
但我不清楚是哪种选择
我尝试过的事情:
将这些行添加到config.ini
fastboot.chosenSnapshotFile=
fastboot.forceChosenSnapshotBoot=no
fastboot.forceColdBoot=no
fastboot.forceFastBoot=yes
在avd的config.ini
目录中创建一个名为quickbootChoice.ini
的附加文件,其内容如下:
saveOnExit = true
在模拟设备每次第一次关机时,都会弹出此对话框
提前感谢您可以在Android Studio中配置此设置,请参阅此答案以获取说明:我不想为此使用Android Studio。想象一下,在CI服务器上,想要运行模拟器测试。你找到答案了吗?