Hi Dan,
Thanks for the reply. I got another related issue and hope that you can solve it as well. If I tried to build from x86-64 machine for arm target, the output folder does not have qemu files that the emulator needs such as ramdisk-qemu.img.
Download and build code
repo sync -c -j4
source build/envsetup.sh
lunch aosp_arm-eng
m -j4
After build success, in the out/target/product/generic_arm64 directory, it does not have ramdisk-qemu.img.
When I build for x86-64 target such as aosp_x86_64-eng, the output directory will have the required qemu image for me to run the emulator.
Command to run the x86-64 emulator without running envsetup.sh
export ANDROID_BUILD_TOP=/home/user/android
export ANDROID_PRODUCT_OUT=/home/user/android/out/target/product/generic_x86_64
cd /home/user/android/out/target/product/generic_x86_64
/home/user/android/prebuilts/android-emulator/linux-x86_64/emulator -verbose -show-kernel -sysdir system/ -datadir data/ -kernel kernel-ranchu -ramdisk ramdisk-qemu.img -system system.img -initdata userdata.img -cache cache.img -vendor vendor.img
Am I missing something when building the arm target on x86-64 machine? I think that it should be possible to run the arm64 aosp android using the arm64 emulator on an arm64 host if I have the right files generated during Android building process.
Emulator for ARM64 hosts (I followed the instruction here to build the emulator for arm64 host, since the prebuilt android emulator only support x86-64 host)
Thanks
kkh