技术栈

启动崩溃

EngZegNgi
17 天前
android·crash·启动崩溃
安卓应用启动崩溃的问题排查记录问题比较明显,错误信息表明是类加载失败问题,特别是与Google Play服务广告标识符相关的类找不到。 这种问题最常见的原因是两个: 1. 缺少 Google Play 服务依赖 AdvertisingIdClient 属于 play-services-ads-identifier 库。若未在项目中引入该依赖,运行时无法找到该类。 2. 混淆配置错误 若启用代码混淆(ProGuard/R8),未正确保留 AdvertisingIdClient 相关类,导致类被意外移除。
EngZegNgi
1 年前
swiftui·xcode15·ios13·启动崩溃
Xcode15升级适配问题记录崩溃报错如下。解决方法就是在工程增加链接的参数:add the -weak_framework SwiftUI flag to the Other Linker Flags setting in the Build Settings tab