Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.

从github上clone了一个项目,却出现了Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.的提示


clean一下项目,终于可以看到详细信息了。


接下来就继续搜错,could not create plugin of type 'androidmavenplugin'.的因为,说是meaven的原因,修改起来也特别简单,Project下的build.gradel,修改版本就好了。


将1.3的版本修改为1.4.1即可,如果还是不可以 ,就换一个别的版本号试一下,然后点击 Try Again,就搞定了。


dependencies{

classpath'com.android.tools.build:gradle:2.2.2'

classpath'com.github.dcendents:android-maven-gradle-plugin:1.4.1'

classpath'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.3.1'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

}