在尝试复现一个长时间未启用且在后台运行的开箱模块任务时,发现该任务会导致崩溃。具体步骤如下:
- 复现步骤:打开一个长时间未启用且在后台运行的开箱模块任务。
- 预期行为:正常进入开箱模块设置界面。
- 实际行为:尝试进入开箱模块设置界面时,应用崩溃。
Xposed 模块列表
null
Root 方案
APatch
系统模块列表
Rezygisk
Lsposed
LSPosed 版本
7184
Android 版本
15
版本要求
- [x] 我正在使用 GitHub Actions 中最新的调试版本。
日志
FATAL EXCEPTION: main
Process: org.lsposed.manager, PID: 561
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.shell/com.android.shell.BugreportWarningActivity}: android.app.Fragment$InstantiationException: Unable to instantiate fragment Gr: make sure class name exists, is public, and has an empty constructor that is public
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4377)
... (更多堆栈信息)
Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment Gr: make sure class name exists, is public, and has an empty constructor that is public
at android.app.Fragment.instantiate(Fragment.java:555)
... (更多堆栈信息)
Caused by: java.lang.ClassNotFoundException: Didn't find class "Gr" on path: DexPathList[[zip file "/system/priv-app/Shell/Shell.apk"],nativeLibraryDirectories=[/system/priv-app/Shell/lib/arm64, /system/lib64, /system_ext/lib64, /system/lib64, /system_ext/lib64]]
... (更多堆栈信息)
该问题可能是由于模块中缺少名为 "Gr" 的公共类,或者该类没有公开的无参构造函数导致的。建议检查模块代码,确保所有必要的类都存在且正确实现。
评论已关闭