关于导入moudle遇到的错误Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
2016-12-13 11:27
876 查看
几次都遇到这个问题,之前怎么解决的一下子就忘了,这次终于长了记性,一定要把它记录下来,下次不能再犯这样的错误
解决:
只要在project的build.gradle文件中增加这个就可以了
完整添加效果如下
参考别人的博客,但是找了好久才找到,所以自己写一篇下次好找点
其次在导入moudle的时候,第一次总是不会在android studio的左边android窗口下显示这个moudle,因为遇到错误,只要把错误解决了就可以以moudle的方式显示了
解决:
只要在project的build.gradle文件中增加这个就可以了
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"
完整添加效果如下
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }
参考别人的博客,但是找了好久才找到,所以自己写一篇下次好找点
其次在导入moudle的时候,第一次总是不会在android studio的左边android窗口下显示这个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.
- Android 添加Library出现错误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在Studio里导入moudle时报错解决方案
- 解决导入项目提示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:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found