Error:(34, 1) A problem occurred evaluating project ':*'.
> Failed to apply plugin [id 'com.github.dcendents.android-maven']
> Failed to apply plugin [id 'com.github.dcendents.android-maven']
> Could not create plugin of type 'AndroidMavenPlugin'.
解决办法:将工程目录下的build.gradle 中
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
版本修改成
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
原因好像是版本的冲突,修改之后重新make
本文介绍了解决在使用Android Maven插件时遇到的版本冲突问题。通过将build.gradle文件中的插件版本从1.5改为1.3,成功解决了项目构建失败的问题。
635

被折叠的 条评论
为什么被折叠?



