引入之后报以下错误: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工程引入没有报错,