用flex做的网站,巴中网站建设,天津集团网站建设,郑州企业在Android studio中引用第三方库的时候#xff0c;报这个错。 Error:(2, 0) Plugin with id com.github.dcendents.android-maven not found. 搜了一下。 这是原因为该项目的原作者会把项目发布到maven中央仓库中#xff0c;所以在gradle中添加了相关的maven发布任务。…在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