mac系统下配置aapt环境变量 在当前用户目录下新建.bash_profile文件,执行以下命令: vi .bash_profile 然后保存,输入命令 :wq 最后使命令生效,执行命令 source .bash_profile