三、运行
1. 运行普通的虚拟器emulator
emulator的路径是/home/xieyan/bin/mydroid/out/host/linux-x86/bin/emulator
$ . build/envsetup.sh
$ partner_setup
$ emulator
2. 指定img运行
$ export ANDROID_PRODUCT_OUT=/home/xieyan/bin/mydroid/out/target/product/generic
$ emulator -image system.img -data userdata.img -ramdisk ramdisk.img