您的位置:首页 > 大数据 > 人工智能

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

2017-02-13 11:44 615 查看
从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

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐