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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值