Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#985 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Công nghệ
android, kotlin
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ả

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

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của JingMatrix/Vector

Tất cả issue của JingMatrix/Vector

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.