当前位置:网站首页>Add build dependency error
Add build dependency error
2022-07-29 00:07:00 【Sharp surge】
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error).
Add build dependencies : https://developer.android.google.cn/studio/build/dependencies#remote-repositories
Add Baidu map AAR when , No error is reported during direct operation , but ReBuild Times wrong ,
implementation fileTree(dir: 'libs', include: ['*.aar'])
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.aar"))))
You can try in map module Use in compileOnly, And in the app module Next use implementation Resolve errors .
Reference resources
https://blog.csdn.net/yeshennet/article/details/114331818
author :_10_01_
link :https://www.jianshu.com/p/797773831046
source : Simple books
The copyright belongs to the author . Commercial reprint please contact the author for authorization , Non-commercial reprint please indicate the source .
边栏推荐
猜你喜欢

多传感器融合定位(三)——惯性技术

VirtualLab基础实验教程-8.傅里叶变换(1)

Worthington - chemical properties and related studies of Worthington trypsin

The failure rate is as high as 80%. How to correctly complete the strategic planning of digital transformation?

SAP 临时表空间错误处理

How NAT configures address translation

【C】替换空格,宏实现整数的二进制奇偶位交换

Doip communication of canoe application case

考过HCIP入职心仪公司,分享华为认证学习经历及心得

Leetcode62. 不同路径
随机推荐
Create AP hotspots for imx6 development board QT system based on rtl8723 cross compile iptables
实时数仓:滴滴的实时数仓落地实践
Jincang database kingbasees client programming interface guide ODBC (2. Overview)
熊市下PLATO如何通过Elephant Swap,获得溢价收益?
基于 FPGA 实现数字时钟详细原理讲解及验证结果
SAP 临时表空间错误处理
Worthington - chemical properties and related studies of Worthington trypsin
研发效能的道法术器
【微服务】Nacos集群搭建以及加载文件配置
[MySQL series] MySQL database foundation
Uricase - Characteristics of uricase in Worthington pig liver:
【MySQL系列】MySQL数据库基础
Application of Devops in Internet of things solutions
1-5 类式组件
ISO 13400(DoIP)标准解读
Leetcode59. Spiral matrix II
【C】逆序字符串(俩种递归思路)
Type 1-5 components
【C】atoi和offsetof的介绍和模拟实现
Leetcode62. Different paths