惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
Spread Privacy
Spread Privacy
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
SecWiki News
SecWiki News
腾讯CDC
P
Privacy International News Feed
Webroot Blog
Webroot Blog
J
Java Code Geeks
爱范儿
爱范儿
A
About on SuperTechFans
S
Secure Thoughts
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
D
DataBreaches.Net
Cloudbric
Cloudbric
Security Archives - TechRepublic
Security Archives - TechRepublic
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Security Latest
Security Latest
Forbes - Security
Forbes - Security
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Threatpost
量子位
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Vercel News
Vercel News
Google Online Security Blog
Google Online Security Blog
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
S
Security @ Cisco Blogs
T
The Exploit Database - CXSecurity.com
Help Net Security
Help Net Security
V
Visual Studio Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 聂微东
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs

博客园 - 梦书

Ubuntu 下修改文件和文件夹混合排序的时候-文件夹优先的规则 HarmonyOS应用开发者高级认证-2025年1月份 2024年年终总结 2024年上半年软件设计师第一批 2023年下半年网络工程师 获取Android设备的所有属性值 2022年架构设计师考试 2022年第2次居家办公 2021年系统分析师考试总结 Android开发手记之第一次运维 Ubuntu上降级chrome Android开发手记之图片base64 2020年信息系统项目管理师案例计算题之我见 2020年信息系统项目管理师上午综合题41-75 2020年信息系统项目管理师上午综合题1-40 Android开发手记之Return code is: 401, ReasonPhrase: Unauthorized. Android开发手记之Could not find tools.jar Android开发手记之compileDebugAidl failed Android开发手记之android.content.res.Resources$NotFoundException: Resource ID #0x7f04005e
Android开发手记之duplicate entry: res/drawable/a.xml
梦书 · 2020-09-18 · via 博客园 - 梦书

这次是替换一个第3方的SDK,本来觉得很快,没想到一编译就出新上面的错误了。

看了下这个资源文件之前在老版本的SDK里面也有。

将aar解压出来看了下,这个资源文件只有一个,而且其他的drawable也没有,values.xml中也没有定义同名的drawable。

因为是自己机器环境的问题,用其他同事的机器编译了,也是出现如上的问题。

后来,用Ubuntu内置的"归档管理器"查看aar文件,发现,资源里面所有的资源都是两个,

只不过这个a.xml按照字符排序法是排在第一个而已。

可以推测,这个aar打包出了问题。

用unzip命令解压aar文件也提示资源重复了,需要确认是否覆盖。

解决方法:就是让对方重新打包。