Skip to content

bug: Crash on launch due to ClassNotFoundException (ShizukuProvider missing) #3

Description

@Rayan110

Body:

### Describe the bug
The app crashes immediately upon launch. Looking at the logcat/crash report, it throws a `java.lang.RuntimeException` caused by a `java.lang.ClassNotFoundException` because the app cannot find the `rikka.shizuku.ShizukuProvider` class.

It seems like the Shizuku library dependencies might not be properly bundled or compiled into the final APK build, even though the provider is declared in the `AndroidManifest.xml`.

### To Reproduce
1. Download and install the latest APK.
2. Launch the app.
3. The app instantly crashes before reaching the main screen.

### Logcat / Crash Dump
```text
java.lang.RuntimeException: Unable to get provider rikka.shizuku.ShizukuProvider: java.lang.ClassNotFoundException: Didn't find class "rikka.shizuku.ShizukuProvider" on path: DexPathList[...]
at android.app.ActivityThread.installProvider(ActivityThread.java:9635)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:9135)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:8744)
...
Caused by: java.lang.ClassNotFoundException: Didn't find class "rikka.shizuku.ShizukuProvider"

Device Information

  • OS: Android (e.g., Android 16/ Hyperos3)
  • App Version: Latest Build

Additional Context

Please check if the Shizuku implementation/dependency is correctly set up in the build.gradle file and that ProGuard/R8 (if enabled) isn't accidentally stripping out the required Shizuku classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions