编译Android14遇到lunch不显示target的问题
参考
- 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,应该能显示所有选项了
本文来自博客园,作者:摩斯电码,未经同意,禁止转载