Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found在Studio里导入moudle时报错解决方案
来源:互联网 发布:南通大学网络教学平台 编辑:程序博客网 时间:2024/06/01 08:53
首先非常感谢作者特立独行的猪.帮助我解决了问题.参考链接 http://blog.csdn.net/u010111008/article/details/50413121
今天在给项目添加一个moudle依赖时,出现了如下错误.
Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
最后的解决方案如下:
在工程下的build.gradle里添加如下代码,然后点击右上方的sync now. 同步一下即可.
//1.自动化maven打包插件 classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' //2.自动上传至Bintray平台插件 classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"
注意:classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'这一行这里, 后边的版本号"1.4.1",必须是你最新的maven版本号.如果不是的话, 同步后会出现下面的错误.
Error:(2, 0) No service of type Factory available in ProjectScopeServices.
OVER. 有问题欢迎留言讨论!
阅读全文
1 0
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found在Studio里导入moudle时报错解决方案
- 关于导入moudle遇到的错误Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
- Error:(2, 0) Plugin with id ‘com.github.dcendents.android-maven’ not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- cublas vs nervana
- LeetCode: 3 Sum
- js-闭包
- template might not exist or might not be accessible by any of the configured Template Resolvers
- 【WEB开发技术】一个简单的WEB项目验证码校验(如何从前端到后台一步一步的搭建、配置、发布整个Web项目?)
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found在Studio里导入moudle时报错解决方案
- c语言经典面试题
- android 7.0 兼容多语言切换总结
- Linux内核中__setup的用途
- strlen()和sizeof()区别
- oracle创建用户、授权、建表空间
- FZU 2207 以撒的结合(LCA+记录路径)
- 本地项目上传到GitHub中
- Windows下安装并设置Redis