cordova模拟android - qemu:无法加载initrd''

时间:2014-07-25 01:28:31

标签: android cordova android-emulator

按照http://www.smashingmagazine.com/2014/02/11/four-ways-to-build-a-mobile-app-part3-phonegap/中的示例,我正在Linux Mint Android dev虚拟机中编译我的第一个测试应用程序 当我试图模仿android时,我达到了这一点:

cordova emulate android

但它失败了:

qemu: could not load initrd ''

我用Google搜索了,但没有发现这个问题。

1 个答案:

答案 0 :(得分:1)

其实我会解决自己的问题。 所以我意识到这个问题是因为它试图模拟ARM处理器而没有那样的内核映像,所以我开始想知道为什么ARM处理器。

长话短说,我不得不回到Android虚拟设备(AVD)管理器并编辑Android虚拟设备并将CPU / ABI从ARM更改为Intel Atom(x86),现在错误消息消失了,Android仿真加载。