引入之后报以下错误:Plugin with id 'com.github.dcendents.android-maven' not found
在网上寻找解决方法得到的答案是在自己的工程下的build.gradle中加入:
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.2' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"
可是加入之后点击try again又报以下错误:
No service of type Factory available in ProjectScopeServices
继续上网寻找解决方法得到的答案是将classpath 'com.github.dcendents:android-maven-gradle-plugin:1.2' 改成classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
然后重新点try again工程引入没有报错,
本文介绍了解决在构建项目时遇到的Gradle插件找不到的问题,并给出了具体的解决方案,包括更新插件版本等。
2652

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



