1. 下载源码
2. 编译系统
$ source build/envsetup.sh
$ lunch 1
$ make
3. 启动虚拟手机
$ ./out/host/linux-x86/bin/emulator
4. 修改后重编framework
$ mmm frameworks/base
5. 更新虚拟机用的framework
$ adb remount
$ adb shell stop
$ adb sync
$ adb shell start
1. 下载源码
2. 编译系统
$ source build/envsetup.sh
$ lunch 1
$ make
3. 启动虚拟手机
$ ./out/host/linux-x86/bin/emulator
4. 修改后重编framework
$ mmm frameworks/base
5. 更新虚拟机用的framework
$ adb remount
$ adb shell stop
$ adb sync
$ adb shell start