关于Plugin with id 'com.github.dcendents.android-maven' not found.问题解决

今天引入一个moudle做依赖库,遇到了Plugin with id ‘com.github.dcendents.android-maven’ not found.这个错误,搞的我一脸懵逼,字面意思就是某个插件没找到, 那就很方便咯,没找到插件就引入插件嘛,找到项目下全局的根目录build.gradle文件,将添加上

classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.4.1’
就搞定了
如图代码
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/hzy670800844/article/details/84769593
今日推荐