安卓插件错误解决办法(用AutoLayout布局会用到可能)classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
2016-08-11 10:58
597 查看
Error:Cause: org/gradle/api/publication/maven/internal/DefaultMavenFactory
Android
首先,要看一下自己的项目使用 “Gradle版本”接着要看一下项目根目录的build.gradle文件中的“dependencies”的 classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
是1.3还是1.2?
1.2和1.3是很大区别的。
1.3的项目名是“android-maven-gradle-plugin/”
1.2的项目名是"android-maven-plugin"
所以别傻乎乎的,以为改了一个数字就能用。
给你这条link:http://repo1.maven.org/maven2/com/github/dcendents/
gradle2.10版本的要用classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
2.2.1版本的用 classpath
'com.github.dcendents:android-maven-plugin:1.2'
好像目前只有这两个版本,这个不行就换另外一个试试吧
相关文章推荐
- 关于导入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解决办法
- Plugin with id ‘com.github.dcendents.android-maven’ not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:Could not find com.github.dcendents:android-maven-plugin:1.3解决方式
- 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解决办法
- 解决 Plugin with id 'com.github.dcendents.android-maven' not found.
- 解决导入项目提示Plugin with id 'com.github.dcendents.android-maven' not found.
- 解决 Plugin with id 'com.github.dcendents.android-maven' not found.
- com.github.dcendents:android-maven-gradle-plugin:1.5版本对应