Error:(38, 13) Failed to resolve: com.github.PhilJay:MPAndroidChart:v3.0.1 <a href="openFile:/Users/
来源:互联网 发布:ubuntu显示乱码 编辑:程序博客网 时间:2024/05/16 05:12
首先说一下MPAndroidChart,他是一个包含(柱状图,折线图,饼状图)的第三方库,但是今天在使用这个库的使用出现了一个问题:
解决办法:在项目的build.grdle中加入
maven { url "https://jitpack.io" }如图所示
// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}allprojects { repositories { jcenter() //远程仓库 gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } } maven { url "https://github.com/J2W/mvn-repo-j2w/raw/master/repository" } maven { url "https://jitpack.io" } }}task clean(type: Delete) { delete rootProject.buildDir}
0 0
- Error:(38, 13) Failed to resolve: com.github.PhilJay:MPAndroidChart:v3.0.1 <a href="openFile:/Users/
- Error:Failed to resolve: com.squareup:javawriter:2.1.1 <a href="openFile:I:/workspace/FirstProvider/
- Error:(24, 13) Failed to resolve: com.android.support:recyclerview-v7:20.+ <a href="install.m2.repo"
- Error:(22, 13) Failed to resolve: com.android.support:appcompat-v7:14.+ <a href="install.m2.repo">In
- Error:(37, 13) Failed to resolve: com.android.support:appcompat-v7:26 <a href="install.m2.repo">Inst
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found. <a href="openFile:D:\Git
- Error:(52, 13) Failed to resolve: com.github.franmontiel:PersistentCookieJar:v1.0.1
- failed to resolve:com.github.********
- Failed to resolve: com.github
- Error:(30, 13) Failed to resolve: com.github.bumptech.glide:glide:3.7.0
- Error:Failed to resolve: junit:junit:4.12 <a href="open.dependency.in.project.structure">Show in Pro
- Error:(1, 0) Plugin with id 'com.android.application' not found. <a href="openFile:F:\AndroidCode\Ji
- 兔子-Error:(31, 13) Failed to resolve: com.github.chrisbanes:PhotoView:1.2.6 Show in File Show i
- Android Glide Error:Failed to resolve: com.github.bumptech.glide:glide:+ 问题解决
- Error:Failed to resolve: com.android.databinding:library:1.1
- Error:Failed to resolve: com.android.databinding:adapters:1.2.1
- Error:Failed to resolve: com.afollestad:material-dialogs:
- Error:Failed to resolve: com.android.support:appcompat-v7:25
- 【bzoj1500】维修数列 splay
- iOS 开发 XMPP即时通讯项目开发(仿微信)-详解之XMPP入门
- django 引入静态文件问题
- 什么是容器???
- Java实现Oracle数据库备份
- Error:(38, 13) Failed to resolve: com.github.PhilJay:MPAndroidChart:v3.0.1 <a href="openFile:/Users/
- 一篇很全面的freemarker教程
- synchronized关键字加锁-线程可重入
- Java的数据库编程之背景概述
- 辞职信:写给我的“藤野先生”
- ubuntu16.04挂载windows NTFS磁盘方法
- php 删除cookie
- Chrome 开发者工具(DevTools)中所有快捷方式列表
- C# 颜色