当前位置:网站首页>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 .
边栏推荐
- 以JSP为视图解析器搭建SSM项目
- 2022-07-28:以下go语言代码输出什么?A:AA;B:AB;C:BA;D:BB。 package main import ( “fmt“ ) func
- EN 12101-8:2011烟雾和热量控制系统防烟挡板—CE认证
- Working principle of fastdfs (technical principle)
- CMake 基础学习
- 【C】atoi和offsetof的介绍和模拟实现
- C language n*n matrix evaluation and inverse matrix [easy to understand]
- Leetcode64. 最小路径和
- Wildcard ssl/tls certificate
- EN 1873屋面用装配附件.塑料单个屋面灯—CE认证
猜你喜欢

curl (7) Failed connect to localhost8080; Connection refused

Multi sensor fusion positioning (II) -- map based positioning

Use pytoch to quickly train the network model

Jincang database kingbasees client programming interface guide ODBC (2. Overview)

Leetcode63. Different paths II

GhostNets on Heterogeneous Devices via Cheap Operations

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

Worthington -- Specification of Worthington trypsin inhibitor

SQL implementation merges multiple rows of records into one row

VMware VCSA 7.0 Install
随机推荐
实时数仓:美团基于Flink的实时数仓建设实施
Application of Devops in Internet of things solutions
YOLOV5学习笔记(一)——原理概述
PowerCLi 批量添加esxi到vCenter
NAT如何配置地址转换
E-commerce data model design
VMware VCSA 7.0 Install
PHP poster QR code synthesis
How NAT configures address translation
PowerCL 批量创建及管理虚拟交换机
Best practices for migration of kingbasees v8.3 to v8.6 of Jincang database (2. Compatibility of kingbasees v8.3 and v8.6)
Kingbasees client programming interface guide ODBC (4. Create data source)
Best practices for migration of kingbasees v8.3 to v8.6 of Jincang database (3. Kingbasees migration capability support system)
Build SSM project with JSP as view parser
SAP 临时表空间错误处理
VirtualLab基础实验教程-8.傅里叶变换(1)
leetcode 763. Partition Labels 划分字母区间(中等)
考过HCIP入职心仪公司,分享华为认证学习经历及心得
RHCE first day
Leetcode59. 螺旋矩阵 II