[Bug / FR] ActivityNotFoundException during in-app module installation when stock PackageInstaller is disabled; request fallback or support for external installers
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 65/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
调研方向
Look at the code that triggers the CONFIRM_INSTALL intent, likely in a module installation or download service. The logs show ActivityNotFoundException for com.miui.packageinstaller. Need to modify the intent resolution to either detect if the default installer is disabled and fallback to a generic ACTION_VIEW intent using FileProvider, or query for available package installer activities. Check the repository's handling of APK installation intents and the FileProvider configuration.
由索引模型根据 Issue 内容生成。
描述
Steps to reproduce/复现步骤
- Freeze or disable the OEM default package installer (e.g., com.miui.packageinstaller) and use a third-party package installer (e.g., InstallerX).
- Open Vector Manager and navigate to the module Repository / Store.
- Select any module (e.g., Telegram Auxiliary) and tap install.
Expected behaviour/预期行为
The installation prompt should start successfully. Alternatively, if the system PackageInstaller session confirmation fails or is unavailable, it should gracefully fall back to an external installer via standard Intent (ACTION_VIEW using FileProvider).
Actual behaviour/实际行为
Installation fails immediately after downloading. Vector triggers android.content.pm.action.CONFIRM_INSTALL explicitly targeting com.miui.packageinstaller. Because the package is disabled, the system cannot resolve the Activity and throws an ActivityNotFoundException.
Xposed Module List/Xposed 模块列表
Bilibili_Innocent_Lab
fcmfix
Global lcon Pack
GPS Setter
Hide My Applist
Hyper Helper
HyperCeiler
HyperEars
HyperlMERestore
Hyperlsland
HyperLight
InxLocker
MapAdKiller
Re:X
Scene
sing-box
SpoofMyDevice
TAuxiliary
VPN Hide
WeKit
哔哩会员画质4in1
Root implementation/Root 方案
KernelSU 32650-4
System Module List/系统模块列表
Magic Mount-rs
神仙自动救砖-v5
HyperOS-动态温控
HyperUnlocked
KernelSU Grant Toast
.Integrity Box
TEESimulator-RS
爱玩机工具箱(应用核心功能拓展)
Vector
NeoZygisk
MiPay4XiaomiEU
HyperOS完美图标补全
Hc-百分百防格机
VPN Hide (Zygisk)
Vector version/Vector 版本
3111
Android version/Android 版本
HyperOS 3.0.303 xiaomi.eu / Android 16
Version requirement/版本要求
- I am using the latest debug build from GitHub Actions./我正在使用 GitHub Actions 中最新的调试版本。
Logs/日志
- 主要语言
- Kotlin
- 星标
- 12.6k
- 派生
- 850
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JingMatrix/Vector 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 80/100
JingMatrix/Vector#999 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 45/100
JingMatrix/Vector#1000 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 42/100
JingMatrix/Vector#997 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
JingMatrix/Vector#996 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 52/100
JingMatrix/Vector#991 · 1 条评论 ·
维护者通常 1 天内回复
查看 JingMatrix/Vector 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
-
bug 🐞 Untriaged user issue
难度 2/5 1-3 小时 新手友好度 68/100
valkey-io/valkey-glide#7306 · 1 条评论 ·
维护者通常 2 天内回复
-
Bookmarking an article that is already bookmarked under its redirect URL deletes both bookmarks可能已有人在做 @aakarshitv 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
kiwix/kiwix-android#5176 ·
维护者通常 1 天内回复
-
bug good first issue
难度 1/5 1-3 小时 新手友好度 77/100
open-telemetry/opentelemetry-kotlin#1202 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复