I follow the Android doc to build an AOSP (Android 10).
source build/envsetup.sh
lunch aosp_x86-eng
m -j32
Once building successfully, I use the emulator
command to test if the built image can run. On my server running CentOS 8 Stream, the emulator can launch successfully and everything looks good.
However, when I try to move the built system image to my MacBook, the emulator only shows a blank screen even after 5 minutes.
I used to build an Android 7 system image (see here). All I need to do is to move the system.img
and ramdisk.img
to my MacBook's SDK folder. But this does not work for Android 10.
What should I move (e.g., system.img
, ramdisk.img
, vendor.img
, userdata.img
...) to make the built AOSP running on my Mac's emulators?