emulator: ERROR: Can't get kernel version from the kernel image file: '/media/anand/BUILD/aosp/out/target/product/generic/kernel-ranchu-64'

669 views
Skip to first unread message

Anand Ingale

unread,
Oct 26, 2020, 4:28:21 PM10/26/20
to Android Building
i am new AOSP build system . I followed all the steps given in following link https://source.android.com/setup/build/building


to build Android from source . took very recent tag android-11.0.0_r7

repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r7
repo sync -c -j8
source build/envsetup.sh
lunch aosp_arm-eng 
make -j8
Build is successful
removing out/target/product/generic/system-qemu.img.qcow2
out/host/linux-x86/bin/sgdisk --clear out/target/product/generic/system-qemu.img

#### build completed successfully (05:12:46 (hh:mm:ss)) #### 

But when i run emulator, i get this message
emulator: ERROR: Can't get kernel version from the kernel image file: '/media/anand/BUILD/aosp/out/target/product/generic/kernel-ranchu-64'

Can anyone please help out , what i am doing wrong



Fabian Henneke

unread,
Nov 3, 2020, 11:11:53 AM11/3/20
to Android Building
I am experiencing the same problem with android-11.0.0_r17. Is it possible to specify the kernel version manually or should we use a different tag instead?
Reply all
Reply to author
Forward
0 new messages