cocos打包apk提示ant配置有问题

错误提示:ANT_ROOT not defined. Please define it in your environment
项目打包失败

ant是已经配置好的了

需要再编辑-偏好设置中配置。

原来如此,谢谢版主