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

推荐订阅源

GbyAI
GbyAI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
Netflix TechBlog - Medium
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
F
Full Disclosure
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
NISL@THU
NISL@THU
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
Latest news
Latest news
C
CERT Recently Published Vulnerability Notes
P
Privacy & Cybersecurity Law Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
C
Cybersecurity and Infrastructure Security Agency CISA
L
Lohrmann on Cybersecurity
Apple Machine Learning Research
Apple Machine Learning Research
The GitHub Blog
The GitHub Blog
T
Tor Project blog
A
About on SuperTechFans
博客园 - 司徒正美
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LINUX DO - 热门话题
Know Your Adversary
Know Your Adversary
T
Tenable Blog
K
Kaspersky official blog
Simon Willison's Weblog
Simon Willison's Weblog
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
Cisco Talos Blog
Cisco Talos Blog
U
Unit 42
T
The Blog of Author Tim Ferriss
T
Threatpost
D
DataBreaches.Net
Engineering at Meta
Engineering at Meta
P
Palo Alto Networks Blog

博客园 - 梦书

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开发手记之duplicate entry: res/drawable/a.xml
Android开发手记之android.content.res.Resources$NotFoundException: Resource ID #0x7f04005e
梦书 · 2020-09-18 · via 博客园 - 梦书

替换一个第3方的SDK另外一个aar导致的,根据崩溃日志,确定崩溃的地方的资源是存在的。

将该aar解压出来,用JD-GUI看了下class.jar,发现里面的代码是这样的:

setContentView(2130968670);

这个如果是在APK里面是没有问题的,但是在aar里面就有问题了

aar里面的资源应该是

setContentView(R.layout.a.xml);

要不然,引用该aar的APK编译后,大概率是找不到这个xml,甚至还会链接到不同的layout或者其他资源类型。

2130968670这个10进制数刚好是16进制数0x7f04005e。

又是对方打包出现的问题,

这个猜想可能是对方直接运行demo,然后将aar拷贝出来导致的。

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