问题描述
是否有可能preserve系统数据(而不是SD卡数据)在Android模拟器时,它是关机?我的具体问题是,我试图导入一个新的根证书导入 /system/etc/security/cacerts.bks
的文件,但需要重新启动,当我不要重新启动模拟器的文件被恢复到原来的状态。
Is it possible to preserve system data (not SD card data) on Android emulator when it is shutdown?My specific problem is that I am trying to import a new root certificate into the /system/etc/security/cacerts.bks
file, but that requires a restart, and when I do restart the emulator the file gets reverted to original state.
推荐答案
的文件是系统图像的一部分,而不是下.avd文件夹中创建的文件的一部分。
The file is a part of the system image, and is not a part of the files created under .avd folder.
找到如何备份/修改系统映像的链接。这些评论不是英文,但命令是pretty的简单。
Found a link on how to backup/modify a system image. The comments are not in English, but the commands are pretty straightforward.
这篇关于如何重新启动Android模拟器和preserve系统数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!