debug buildType 设置了 applicationIdSuffix = ".debug",导致 debug 包名为 com.rwadurian.mining_app.debug,release 包名为 com.rwadurian.mining_app。Android 将它们视为两个不同应用, 升级安装 release 包时不覆盖 debug 包,出现两个相同图标。 移除 applicationIdSuffix 后 debug/release 使用同一包名, 升级安装时会正确覆盖旧版本。versionNameSuffix 保留用于区分版本号。 注:用户手机上需手动卸载旧的 debug 包才能清除已存在的重复图标。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| admin-web | ||
| mining-admin-web | ||
| mining-app | ||
| mobile-app | ||
| mobile-upgrade | ||
| temp_backup | ||
| README.MD | ||