解决 Plugin with id 'com.github.dcendents.android-maven' not found.
在Android studio中引用第三方库的时候,报这个错。
Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
搜了一下。
"这是原因为该项目的原作者会把项目发布到maven中央仓库中,所以在gradle中添加了相关的maven发布任务。
咱们又不能连到maven的仓库,所以我们把你要导入的第三方build.gradle中"[1]无用的部分都删掉。
按照作者的方法
删掉除了
android{}
dependencies{}
之外的部分后还是不行,与pulltorefresh库中的build.gradle对比了一下,
在最顶部保留
apply plugin: 'com.android.library'
rebuild一下,项目好用了!
[1] http://blog.csdn.net/cxzczxcxzc/article/details/48976843
转载于:https://www.cnblogs.com/touchmore/p/5588140.html
解决 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 http://bl ...
- Android Studio导入别人的module提示错误Plugin with id ‘com.jfrog.bintray‘ not found.
1 问题 Android Studio导入别人的module提示错误如下 Plugin with id 'com.jfrog.bintray' not found. Plugin with id 'c ...
- github上Android开源项目汇总(带效果图)
第一部分 个性化控件(View) 主要介绍那些不错个性化的 View,包括 ListView.ActionBar.Menu.ViewPager.Gallery.GridView.ImageView.P ...
- 2017 github 上android 源码(适合工作中开发)
转载: http://blog.csdn.NET/a774057695/article/details/49889437 https://github.com/XinRan5312/Android-o ...
- Plugin with id 'com.novoda.bintray-release' not found.的解决方案
import Module的时候,有时候会提示Plugin with id 'com.novoda.bintray-release' not found. 点击Open File,定位到该Module ...
- 不是吧阿sir,你不会还不知道Github可以当做Maven仓库吧
前几天听说github更新了UI,今天休假逛了逛,发现了一个好玩的东西.github居然可以用来作为Maven仓库. # 基本Steps: 生成用于发布.安装和删除 GitHub 包的访问令牌. 配置 ...
- Android项目中出现的Plugin with id ‘kotlin-android‘ not found解决方法
Android项目中出现的Plugin with id 'kotlin-android' not found解决方法 参考文章: (1)Android项目中出现的Plugin with id 'kot ...
- Android stduio之Plugin with id ‘com.android.application‘ not found解决办法
1.错误 Plugin with id 'com.android.application' not found 2.解决办法 打开项目的build.gradle,看是否有buildscript{},如 ...
- 导入工程后编译不过,报错: apply plugin: 'com.github.dcendents.android-maven'
编译时报错: Error:(2, 0) No service of type Factory apply plugin: 'com.github.dcendents.android-maven' 原来 ...
最新文章
- 可靠性测试-故障模型库
- vba宏语言_三分钟了解Excel的程序语言VBA
- Java使用Jolt连接Tuxedo服务器
- Tomcat和myeclipse的相关操作以及myeclipse的激活方法
- 使用http请求发送文件,文件标题乱码
- 学习随笔#13 模型预测控制(MPC)
- 通俗易懂的讲解梯度,散度,旋度(有图很好理解)!!!
- 水面反光如何拍摄_反光倒影的摄影怎么拍?
- cad画多段线时不显示轨迹_cad画多段线时不显示轨迹_CAD画的线段显示不出来的解决方法...
- 在伦敦生活工作-2(由于本人懒惰的关系,这篇估计是最后一篇了,呵呵)
- 小说作者推荐:炤炤酒合集
- 20221219 圣诞节,音乐圣诞树
- CA认证简单介绍与工作流程
- 秒杀系统的设计五大原则
- 素数求解的C语言方法
- 照片拼图什么软件好?试试Design Your Collage mac
- 贪心法 第2关:求一个数列的极差
- 软件自动化测试——入门、进阶与实战
- jquery的toFixed方法的正确使用
- A Novel Task Allocation for Maximizing Reliability Considering Fault-Tolerant in VANET ... 学习笔记
热门文章
- Linux 实操———— Shell 远程执行命令
- android logcat 根据包名过滤,adb logcat通过包名过滤(dos命令find后跟变量)
- app名字变为android+api,一起来做个app吧 wanandroid开放API
- linux复制目录命令夹,linux复制目录(文件夹)和打包命令
- 如何用手机打开dcm格式图片_如何防止自己的图片被盗用?这 4 招教你优雅加水印...
- c语言设计指导实训,C语言程序设计实训指导
- 《SpringCloud超级入门》Eureka注册中心开启密码认证《十二》
- 最大化窗口设置_Qt学习笔记4(窗口操作及插入图片)
- 360手机浏览器_网信办:UC、QQ、360、搜狗等8款手机浏览器被纳入首批整治范围...
- java从键盘上录入信息