PATH=$JAVA_HOME/bin:$PATH
export PATH
source build/envsetup.sh
choosecombo 1 1 8 3
make -j4 (4 CPU个数,可根据PC硬件性能,适当改大)
v 执行source build/envsetup.sh命令
v 执行choosecombo命令,出现选择对话框
u Build for the simulator or the device?
u 1. Device
u 2. Simulator
u
u Which would you like? [1]
u
u Build type choices are:
u 1. release
u 2. debug
u
u Which would you like? [2]
u
u Product choices are:
u 1. core
u 2. full_dream
u 3. full
u 4. full_passion
u 5. full_sapphire
u 6. generic_dream
u 7. generic
u 8. generic_passion
u 9. generic_sapphire
u 10. msm7625_qrd
u 11. msm7627_ffa
u 12. msm7627_surf
u 13. msm7630_surf
u 14. qsd8250_ffa
u 15. qsd8250_surf
u 16. sample_addon
u 17. sdk
u 18. sim
u You can also type the name of a product if you know it.
u Which product would you like? [generic] 3
u
u Variant choices are:
u 1. user
u 2. userdebug
u 3. eng
u Which would you like? [eng]
如果执行这个命令的时候,报错:/bin/sh: Syntax error: "(" unexpected
#请执行$sudo dpkg-reconfigure dash命令,并选择“否”;
本文详细介绍了在特定环境下执行命令的过程,包括环境变量设置、产品选择与构建类型的选择,遇到错误时的解决方法及如何正确配置环境进行构建。
3497

被折叠的 条评论
为什么被折叠?



