[Bug / FR] ActivityNotFoundException during in-app module installation when stock PackageInstaller is disabled; request fallback or support for external installers
メンテナーはふだん 7 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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.7k
- フォーク
- 854
- 平均マージ
- 20分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JingMatrix/Vector のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
JingMatrix/Vector#999 ·
メンテナーはふだん 7 日以内に返信
-
Vector is inactiveオープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
JingMatrix/Vector#1004 ·
メンテナーはふだん 7 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
JingMatrix/Vector#1003 ·
メンテナーはふだん 7 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
JingMatrix/Vector#1002 · リアクション 1 件 ·
メンテナーはふだん 7 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
JingMatrix/Vector#997 · コメント 3 件 ·
メンテナーはふだん 7 日以内に返信
JingMatrix/Vector の issue をすべて見る
似ている issue
-
bug need-device
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
ramesh130/superplayer#495 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
maxrave-dev/SimpMusic#2649 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
PimpinPumpkin/Vela#778 ·
メンテナーはふだん 1 日以内に返信
-
M1 manhwa listオープンBug Domain changed
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
keiyoushi/extensions-source#19882 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 3 日以内に返信