編譯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,應該能顯示所有選項了
本文來自博客園,作者:dolinux,未經同意,禁止轉載

浙公網安備 33010602011771號