Android 报错:Could not find method implementation() for arguments [directory ‘libs‘]

低版本添加依赖时出错

出错截图

Android 报错:Could not find method implementation() for arguments [directory ‘libs’]

在这里插入图片描述

出错原因

我的项目是’2.3.2’的,低版本不支持implementation关键字
在这里插入图片描述

需要吧implementation关键字改为和其他依赖一样的compile

解决

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_44819566/article/details/112916540