Skip to content

Android 9: VectorDaemon throws NoClassDefFoundError for android.os.IServiceCallback$Stub on latest Debug 3098 #925

Description

@caesun

Steps to reproduce/复现步骤

  1. Install Vector 2.2 Debug build 3098.
  2. Enable Zygisk.
  3. Enable one or more Xposed modules in Vector.
  4. Reboot the device.
  5. Check /data/adb/lspd/log/verbose_*.log.

Expected behaviour/预期行为

Vector should not try to resolve or load android.os.IServiceCallback$Stub
on Android 9 / API 28.

The API-specific implementation should be isolated so that newer framework
classes are not resolved by ART on older Android versions.

Actual behaviour/实际行为

VectorDaemon throws the following exception on Android 9:

Rejecting re-init on previously-failed class
org.matrix.vector.daemon.ipc.SystemServerService$registerProxyService$callback$1

java.lang.NoClassDefFoundError:
Failed resolution of:
Landroid/os/IServiceCallback$Stub;

Caused by:
java.lang.ClassNotFoundException:
Didn't find class "android.os.IServiceCallback$Stub"

### Xposed Module List/Xposed 模块列表

```shell
AdbHide v1.0
Disable-FLAG_SEC v2.0.0
Hide My Applist v3.6.1
xVIPHook v260802
notdeveloper v1.3.1

Root implementation/Root 方案

Magisk 30.7

System Module List/系统模块列表

Vector v2.2 (3098)
MGM MindTheGapps-9.0.0-arm64-20230922_081118  (Not enabled)
Systemless Hosts (Not enabled)

Vector version/Vector 版本

v2.2 3098 Debug

Android version/Android 版本

Android 9 (EMUI 9.1.0.127)

Version requirement/版本要求

Logs/日志

Vector-logs-debug-20260820-150059.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions