赞
踩
android8.1.0 aosp make成功之后,运行模拟器报错,
执行代码如下:
- source build/envsetup.sh
- lunch aosp_bullhead-userdebug
- emulator
报错信息如下:
emulator: ERROR: No initial system image for this configuration!
解决方法参考网址:编译android源代码(aosp)
android 源码目录: home/liyanmei/bin
- ./emulator \
- -sysdir ${ANDROID_PRODUCT_OUT} \
- -system ${ANDROID_PRODUCT_OUT}/system.img \
- -ramdisk ${ANDROID_PRODUCT_OUT}/ramdisk.img \
- -data ${ANDROID_PRODUCT_OUT}/userdata.img \
- -kernel /home/liyanmei/bin/prebuilts/qemu-kernel/arm/kernel-qemu-armv7 \
- -skindir /home/liyanmei/bin/sdk/emulator/skins \
- -memory 2048 \
- -partition-size 2048 \
- -skin WVGA800 \
- -scale 0.7
参考内容如下:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。