[Bug / FR] ActivityNotFoundException during in-app module installation when stock PackageInstaller is disabled; request fallback or support for external installers
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- backend-api-design, mobile
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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/日志
- Ngôn ngữ chính
- Kotlin
- Star
- 12.6k
- Fork
- 850
- Merge trung bình
- 20 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JingMatrix/Vector
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
JingMatrix/Vector#999 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
JingMatrix/Vector#1002 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
JingMatrix/Vector#1000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
JingMatrix/Vector#997 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
JingMatrix/Vector#996 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của JingMatrix/Vector
Issue tương tự
-
afk-ok area:data-quality importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
enorm-labs/event-junkie#3027 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rustyrazorblade/easy-db-lab#1003 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
droidconKE/droidconKeKotlin#426 ·
Maintainer thường phản hồi trong vòng 1 ngày