git clone项目跑不起来,缺少module 报错Cannot get property ‘android‘ on extra properties extension as it does

git clone https://git.oschina.net/gaofeifps/body.git 之后加上下面一句
git submodule init && git submodule update

#下面这一句的效果和上面三条命令的效果是一样的,多加了个参数 --recursive
git clone https://git.oschina.net/gaofeifps/body.git --recursive

解决了。问题原因就是项目的module都是单独的git地址,需要把项目的module也都下载下来。更多可以通过git help submodule查看

参考文章:https://blog.justwe.site/post/git-submodule/#%E6%B7%BB%E5%8A%A0%E7%AC%AC%E4%B8%89%E6%96%B9%E5%BA%93