进入到depot_tools目录,vim update_depot_tools 文件
删除
if("$USER" == "root")
then
echo running depot tools as root is sad
exit
fi
上面这几行一般就在文件的最顶端 删除就行