Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#985 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
65/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
android, kotlin

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Kotlin
Étoiles
12.7k
Forks
854
Merge moyen
20 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de JingMatrix/Vector

Toutes les issues de JingMatrix/Vector

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.