参考: https://wiki.cyanogenmod.org/w/Envsetup_help 它是一个.sh文件,用source后就生成android编译相关函数,具体如下. 速查 Invoking $ source build/envsetup.sh from your shell adds several functions to the build environment. These are listed below with short descriptions. Referenc…