返回 Bug 清单
BUG-1248project-13中已修复backend-logic
修复 APP 图标和名称不更新的根因
发现:2026-10-11验证:2026-10-11置信度:70%
症状
commit c68e8d4a0d3c (2026-10-10) fix(android): 修复 APP 图标和名称不更新的根因
根因
根因: adaptive-icon XML (mipmap-anydpi-v26) 引用链有问题,
修复方案
修复 2 行,删除 12 行。改动文件: mobile/android/app/build.gradle, mobile/android/app/src/main/AndroidManifest.xml, mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml, mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
错误签名
fix(android): 修复 APP 图标和名称不更新的根因 根因: adaptive-icon XML (mipmap-anydpi-v26) 引用链有问题,
aapt 打包时生成了 BW.xml 占位符而不是实际 PNG。
修复:
1. 删除 mipmap-anydpi-v26/(adaptive-icon XML)
2. AndroidManifest roundIcon 去掉 manifestPlaceholders,直接写 @mipmap/ic_launcher_round
3. shrinkResources false 暂时关闭(避免误删 mipmap 引用)
4. clean rebuild 后 aapt dump 确认每个密度都是独立 PNG
现在安装 APP 名称=智点刷题,图标=品牌 logo(深蓝圆点矩阵+青色对勾)。技术信息
来源项目
project-13
涉及文件
mobile/android/app/build.gradle, mobile/android/app/src/main/AndroidManifest.xml, mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +1
标签
git-sweep, auto-ingested, project-13, mcp-reported, source-agent