iamr0s / Dhizuku

A Android Application for share DeviceOwner
GNU General Public License v3.0
989 stars 42 forks source link

An unknown error occurred, please fix it #45

Open hskshwjh opened 5 months ago

hskshwjh commented 5 months ago

The following error appears after activating dhizuku on the mumu12 emulator: No interface method setDeviceOwner(Landroid/content/ComponentName;Ljava/lang/String;I)Z in class Landroid/app/admin/IDevicePolicyManager; or its super classes (declaration of 'android.app.admin.IDevicePolicyManager' appears in /system/framework/framework.jar)java.lang.NoSuchMethodError: No interface method setDeviceOwner(Landroid/content/ComponentName;Ljava/lang/String;I)Z in class Landroid/app/admin/IDevicePolicyManager; or its super classes (declaration of 'android.app.admin.IDevicePolicyManager' appears in /system/framework/framework.jar) at t4.a.h(SourceFile:105) at s5.a.s(SourceFile:1) at g6.e0.run(SourceFile:1) at l.h.run(SourceFile:13) at m6.i.run(SourceFile:1) at m6.a.run(SourceFile:92)

s1204IT commented 3 months ago
adb shell "pm list features | grep device_admin"

Is there any output for android.software.device_admin when you run this command?