Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug / FR] ActivityNotFoundException during in-app module installation when stock PackageInstaller is disabled; request fallback or support for external installers

未关闭
#985 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
android, kotlin

调研方向

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 内容生成。

描述

bug
Steps to reproduce/复现步骤
  1. Freeze or disable the OEM default package installer (e.g., com.miui.packageinstaller) and use a third-party package installer (e.g., InstallerX).
  2. Open Vector Manager and navigate to the module Repository / Store.
  3. Select any module (e.g., Telegram Auxiliary) and tap install.
Image
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.

Image Image
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/版本要求
Logs/日志

23_09-13-09-54_093.zip

23_09-13-09-54_093.log

主要语言
Kotlin
星标
12.6k
派生
850
平均合并
20 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JingMatrix/Vector 的其他 Issue

查看 JingMatrix/Vector 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。