Android 4.3 emulator screen stay black and qemu: could not load initrd 'ramdisk.img'
2013-12-31 13:37
831 查看
After building the 4.3 source code, I try to run the emulator with self-compiled system.img, userdata.img and ramdisk.img, but the emulator's screen stays black and adb devices shows offline, no output.
Try to use "kernel-qemu-armv7" instead of "kernel-qemu", solve the balck screen.
But there is still "qemu: could not load initrd 'ramdisk.img', after trying several times follow the guide on internet:
1. chmod 777 -R * in ramdisk.img's path.
2. using full path in -ramdisk
below list my cmd:
/AOSP/out/host/linux-x86/bin/./emulator -kernel /AOSP/prebuilts/qemu-kernel/arm/kernel-qemu-armv7 -sysdir /AOSP/out/target/product/generic/ -system system.img -data userdata.img -ramdisk /AOSP/out/target/product/generic/ramdisk.img
-skindir skins/ -skin HVGA -partition-size 768
the skins/ folder is copied from SDK path.
Try to use "kernel-qemu-armv7" instead of "kernel-qemu", solve the balck screen.
But there is still "qemu: could not load initrd 'ramdisk.img', after trying several times follow the guide on internet:
1. chmod 777 -R * in ramdisk.img's path.
2. using full path in -ramdisk
below list my cmd:
/AOSP/out/host/linux-x86/bin/./emulator -kernel /AOSP/prebuilts/qemu-kernel/arm/kernel-qemu-armv7 -sysdir /AOSP/out/target/product/generic/ -system system.img -data userdata.img -ramdisk /AOSP/out/target/product/generic/ramdisk.img
-skindir skins/ -skin HVGA -partition-size 768
the skins/ folder is copied from SDK path.
相关文章推荐
- emulator启动Android时can't load ramdisk.img的解决办法
- Could not load extension from . The 'manifest_version' key must be present and set to 2 (without quo
- Android开发之旅:环境搭建及HelloWorld (AVD无法启动,出现Starting emulator for AVD '2.2' PANIC: Could not open: 错误提示)
- Could not load file or assembly 'XXX' or one of its dependencies.
- java.lang.UnsatisfiedLinkError: could not load needed library 'library' : link_image[1963]:
- 关于android编程中遇到的Could not find class 'com.swetake.util.Qrcode错误的原因及解决办法
- Starting emulator for AVD 'android' emulator: ERROR: Unable to load VM from解决方法
- Could not load NIB in bundle: 'NSBundle <xxx> (loaded)' with name ''xxx''
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutra...
- 'Could not load NIB in bundle: 'NSBundle解决办法
- Could not find class 'android.support.v4.app.NotificationCompat$BigTextStyle', referenced from metho
- 报错:'Could not load NIB in bundle: 'NSBundle解决办法
- 关于android编程中遇到的Could not find class 'com.swetake.util.Qrcode错误的原因及解决办法
- 安装Android的Eclipse插件ADT遇到错误“requires 'org.eclipse.gef 0.0.0' but it could not be found”
- Could not find class 'android.support.v4.view.ViewPager', referenced from method***
- Could not load file or assembly '***' or one of its does not match the assembly reference
- Could not load file or assembly ' .dll_newdevelop' or one of its dependencies 解决办法
- Could not load file or assembly 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, Public
- Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies.解决方法
- emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.