Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com xxx
Android Studio3.1.X 问题有点多,gradle 添加个依赖都能报错,无爱了~~~
这个错误网上还没有准确的解决方法,下面我把找到的几种方法分享出来:
一.AS离线模式
![](/assets/blank.gif)
二.这个可以试试
三.代理问题
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com xxx相关推荐
- Android --- Unable to resolve dependency for ‘:app@debug/compileClasspath‘: Could not resolve com.a
网上说了一堆要修改gradle.properties文件,注释掉后四行,如果没有这个文件呢?如果没有设置代理呢?你可以常识一下方法 buildscript {repositories {maven{ ...
- Unable to resolve dependency for :app@debug/compileClasspath': Could not resolve com.***问题解决
朋友发来的项目,AS打开后发现两个依赖找不到. 网上搜索了一箩筐方法均不奏效,并且新建项目也直接所有依赖都报错,即将放弃之时有了转机.第三次尝试以下这个方法,成功了.暂且记下,原因未知. https: ...
- Unable to resolve dependency for ':okgo@debug/compileClasspath': Could not resolve com.squareup.okh
Unable to resolve dependency for ':okgo@debug/compileClasspath': Could not resolve com.squareup.okht ...
- android studio引用module出的错:Unable to resolve dependency for‘:app@debug/........
最近写了个test项目,想引用子模块结果报错: 解决方案一: 模块的support版本高于主项目的support版本 把其他模块的support版本改为一致即可 解决方案二: 引用的并不是一个andr ...
- Could not resolve all files for configuration “: app: debug Compileclasspath“ mac开发 cordova build踩坑
作为小白第一次开发android,想到会踩坑,没想到这么多.话不多说直接上主题,在做基于ionic + cordova安卓开发时遇到了一个打包的问题,如下图. Could not resolve al ...
- android studio更新3.2遇到的坑,unable to resolve dependency for app@...... 真的是各种都试错了,终于解决啦,原博主真的牛X
分享这一周多来的坎坷 android studio更新3.2遇到的坑 距离第一次写博客转眼一周多了,为什么一直没写,真的这个过程中遇到了一些棘手的小麻烦 android studio更新3.2遇到的坑 ...
- 解决Android studio 编译问题(版本不对问题)Unable to resolve dependency for******
在 Android studido 新建工程编译出现了几十个错误: Unable to resolve dependency for ':app@debug/compileClasspath': Co ...
- unable to resolve dependency for:xxx
在build project 之后,报unable to resolve dependency for:xxx的错误 这个是添加依赖的过程中报错,无法添加依赖. 先用通用方法检查一下 0.请先确认cl ...
- Unable to resolve dependency for xxx, Could not resolve project
我们为了在不同的环境使用不同的配置,所以会在gradle中添加buildtypes来区分环境,并且在下面进行不同的配置,比如: buildTypes {dev{signingConfig signin ...
最新文章
- 分享10个原生JavaScript技巧
- codeforces C Deletion of Repeats(hash)
- Mockito对final类型和方法的支持(三):免配置的inline mock making
- 基于Docker本地运行k8s(单节点)
- Java黑皮书课后题第9章:*9.10(代数:二次方程式)为二次方程式设计一个名为QuadraticEquation的类
- python中functools_functools模块2个常用函数
- Redhat GRUB配置错误修复
- js检查身份证号是否正确
- [CSS揭秘]不规则投影
- 一提开发满脸泪,不如尬评来赢书 | 张开涛亲笔签名
- [SPSS]典型相关分析的SPSS实现——开卷和闭卷学科成绩的典型相关分析实例
- 测试开发工程师必备软硬能力高级测试开发工程师需要具备什么能力?
- 计算机鼠标游戏教学法,练习使用鼠标教案
- (第四章) UI---PS 基础 形状绘图与变形
- 浅谈App的启动优化
- c#操作.mpp文件
- java中为什么要用json_Java中json的使用和解析
- 计算机基础我的课堂调控,计算机基础课堂析及实验安排.doc
- 相机拍摄单色模式MOV视频可以恢复彩色吗?
- WideResNet(宽残差网络)介绍与代码