【问题标题】:Android emulator cannot be started from windows consoleAndroid 模拟器无法从 Windows 控制台启动
【发布时间】:2011-03-10 17:24:37
【问题描述】:

我正在尝试在 Windows 控制台上运行我的 android 模拟器,但出现此错误:

emulator: ERROR: Your system directory is missing the 'kernel-qemu' image file.
Please specify one with the '-kernel <filepath>' option

我该如何解决这个问题?。感谢您的游览时间。

----- 更新 -----

我终于可以修复这个错误了。起初,我计划离线安装 android SDK,而不是使用 SDK Manager。于是我跟进this instruction,下载了我需要的组件。一切都是正确的,除了当我使用 IZArc 提取平台时,位于 /platform/images/ 的文件 kernel-qemu 没有被提取。但是,当我从 IZArc 手动选择文件并将其拖到它提取的任何文件夹中时。也许这是关于 IZArc 配置的,但这个错误让我花了将近一周的时间!

【问题讨论】:

    标签: android console emulation


    【解决方案1】:

    你有你的内核映像文件吗

    /tools/lib/images/

    目录?

    但我认为你的问题是你运行模拟器的 sintaxis

    ./emulator -kernel kernel-qemu -system system.img -ramdisk ramdisk.img -initdata userdata.img -partition-size 512

    【讨论】:

    • 感谢您的建议。我终于知道脊椎在哪里了。 :)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-07-30
    • 2012-09-29
    • 2016-08-09
    • 2012-04-13
    相关资源
    最近更新 更多