关于Android Studio Arctic Fox 无法在 build.gradle(Project) 中添加第三方Maven仓库的解决方案
问题描述
在 Android Studio Arctic Fox 版本中创建项目,原本应该在 build.gradle(Project) 中配置第三方 Maven 仓库,手动配置后居然报错:
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.> Could not find xxxxxxxxxxxxxxxxxxx.Searched in the following locations:- https://dl.google.com/dl/android/maven2/xxxxx.pom- https://repo.maven.apache.org/maven2/xxxxxx.pom- https://jcenter.bintray.com/xxxxxxxx.pomRequired by:project :app
解决方案
进入项目根目录的 settings.gradle 配置:
dependencyResolutionManagement {repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)repositories {google()mavenCentral()maven { url '****写在这里****' }jcenter() // Warning: this repository is going to shut down soon}
}
关于Android Studio Arctic Fox 无法在 build.gradle(Project) 中添加第三方Maven仓库的解决方案相关推荐
- Android Studio Arctic Fox | 2020.3.1、Gradle 7.0升级记录
环境 Android Studio Arctic Fox | 2020.3.1 Gradle.AGP 7.0 Kotlin 1.5.31 问题1 Value '/Applications/Androi ...
- Android Studio Arctic Fox gradle 配置
Android Studio Arctic Fox build.gradle allprojects 第三方maven库配置 build.gradle 配置 1. 找不到依赖 2.allproject ...
- Android Studio Arctic Fox 新版本不能 allprojects 报错问题
最近升级到Android Studio Arctic Fox 2020.3.1 Patch版本,发现这个问题,一些第三方库没有引用成, 原因:之前的项目build.gradle文件配置里面的allpr ...
- Android Studio Arctic Fox 2020.3.1.24下载地址
Android Studio Arctic Fox 2020.3.1.24 北极狐(旧命名规则Android Studio 4.3)下载地址: Android Studio Arctic Fox(20 ...
- Android Studio Arctic Fox 稳定版(android-studio-2020.3.1.26)下载地址
Android Studio Arctic Fox 稳定版(Android Studio 4.3)开发工具版本适用多个平台系统,它是Android Studio 4.2.2的下一个版本Android ...
- Android Studio 4.3 (Android Studio Arctic Fox 2020.3.1.26)下载地址
Android Studio 4.3(Android Studio Arctic Fox 2020.3.1.26)开发工具版本适用多个平台系统,它是Android Studio 4.2.2的下一个版本 ...
- Android Studio Arctic Fox 版本迭代命名含义
准备开始学习 Jetpack Compose 官网让下载 Android Studio Arctic Fox,看着版本命名跟之前的不同,所以记录一下 之前和现在版本都有Canary版和Beta版以及r ...
- 升级最新版本Android Studio Arctic Fox 遇到的问题
首先 Android Studio 从4.2以后,也就是4.3开始,版本名字改了不采用以前的命名方式了,去官网下载最新版本就会知道了. Arctic Fox 翻译成中文是叫白狐或北极狐,Google越 ...
- 关于Android Studio Arctic Fox版本找不到Database Inspection这件事
网上偶然看到Android Studio 4.1 以上的版本更新了一个新功能Database Inspection可以实时查看和修改手机里的sqlite数据库.于是试了一下 View->Tool ...
最新文章
- led计数电路实验报告_「正点原子FPGA连载」第八章 按键控制LED灯实验
- ActionScript 3.0 编程精髓 示例源码下载
- window.open()函数参数说明
- 一键修改分辨率bat_求使用批处理BAT设置分辨率的方法介绍?
- 网站无法显示logo?
- 解决通过 Visual Studio 打不开 ui 文件的问题
- mysql show full_mysql: show full processlist 详解
- 为什么在Python中使用string.join(list)而不是list.join(string)?
- 每天进步一点点《ML - 逻辑回归》
- [C++/CLI编程宝典][5]编译与反汇编
- (转)C#开发微信门户及应用(3)--文本消息和图文消息的应答
- 荣耀手环支持华为鸿蒙系统吗,华为鸿蒙OS 2.0 来了!明年华为手机将全面支持鸿蒙系统...
- 【广度优先搜索】一个实例+两张动图彻底理解 BFS | 思路+代码详解 | 用 DFS 自动控制我们的小游戏
- 【Brazilian ICPC Regionals - 2018】Soteros【树上启发式合并】
- LBP算法,空间金字塔 文献阅读报告《基于差分量化局部二值模式的人脸反欺诈算法研究》
- 对接网络摄像头——使用RTSP协议进行取流
- 什么是计算机在自动控制中的应用,计算机在自动控制中的应用
- 关于Release版除法反汇编的小结
- 张朝阳也看蜗居,这段采访很有趣
- altf4不管用.是因为未使用内置管理员账户.