ChickenHook / RestrictionBypass

Android API restriction bypass for all Android Versions
Apache License 2.0
628 stars 91 forks source link

GrantPermissionsActivity java.lang.ClassNotFoundException #6

Open Numen-fan opened 2 years ago

Numen-fan commented 2 years ago

When I run on Android 12, and launching Permission Activity, I got this error java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.lbe.security.miui/com.android.packageinstaller.permission.ui.GrantPermissionsActivity}: java.lang.ClassNotFoundException: Didn't find class "com.android.packageinstaller.permission.ui.GrantPermissionsActivity" on path: DexPathList

SarotecK commented 2 years ago

This issue seems not to be related to this project.

However, "om.android.packageinstaller.permission.ui.GrantPermissionsActivity" is not guaranteed to be there on all android versions / devices. As i can see ur testing on a device with miui UI. Possible that the activity has a different classpath or name there...