安卓模拟器-ramdisk命令行选项被打破 [英] Android: Emulator -ramdisk command line option is broken
问题描述
在试图遵循调整Android模拟器包括本地模拟器上的斯卡拉库,我不能自定义ramdisk映像加载。看来,模拟器-ramdisk命令行选项被忽略。
While trying to follow the Tweaking the Android Emulator to include the Scala libraries natively on the emulator, I can't get the custom ramdisk image to load. It appears that the emulator -ramdisk command line option is ignored.
推荐答案
由于科林在斯卡拉上,谷歌Android组,他证实确有在仿真器的 -ramdisk 缺陷code>选项。
Thanks to Colin on the scala-on-android Google group, he confirmed that there is a defect in the emulator's -ramdisk
option.
他的解决办法,这是我成功验证是对的ramdisk.img
复制到AVD,你希望使用的目录。在Windows上,AVD文件存储在 C:/用户/ [用户名] /安卓/ AVD
。在Linux上,它们被保存在〜/ .android / AVD
。
His workaround, which I verified successfully is to copy the ramdisk.img
to the directory of the AVD that you wish to use. On Windows, the AVD files are stored at c:/Users/[UserName]/.android/avd
. On Linux, they are stored at ~/.android/avd
.
在的ramdisk.img
复制,刚启动模拟器照常(后没有 -ramdisk
选项是必需的)。
After the ramdisk.img
is copied, just start the emulator as usual (no -ramdisk
option is necessary).
这篇关于安卓模拟器-ramdisk命令行选项被打破的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!