参考
- Android 系统源码编译
- https://xdaforums.com/t/lunch-failed.4665348/
- https://www.huigll.com/cannot-display-lunch-menu/
现象
android-14.0.0_r74$ . build/envsetup.sh
android-14.0.0_r74$ lunch
You're building on Linux
Warning: Cannot display lunch menu.
Note: You can invoke lunch with an explicit target:
usage: lunch [target]
Which would you like? [aosp_cf_x86_64_phone-trunk_staging-eng]
Pick from common choices above (e.g. 13) or specify your own (e.g. aosp_barbet-trunk_staging-eng):
解决
使用下面的步骤编译:
1、lunch
2、回车,选择到默认的
3、build_build_var_cache
4、再lunch,应该能显示所有选项了
标签:staging,target,编译,menu,Android14,lunch,build
From: https://www.cnblogs.com/pengdonglin137/p/18487020