Android Question Kioski - delete failed device policy manager

Edson Freire

Member
Licensed User
Longtime User
I installed Kioski to see how administrator library works, but now I can't uninstall.
I tried to uninstall via adb shell as well, but I get "Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]"
I already checked in Administrator but it seems like not disabled, because when I try to uninstall I get a message which says "Can't uninstall because this package is an active device administrator." I tried to disable in own application but it's useless... Can anyone help me? I'm using SUNMI V1 device.


sorry for bad english.
 

DonManfred

Expert
Licensed User
Longtime User
You need to remove the device administator setting you set with
B4X:
adb shell dpm set-device-owner your.package.name.here/anywheresoftware.b4a.objects.AdminReceiver2
Find the same command but to disable....
 
Upvote 0

Edson Freire

Member
Licensed User
Longtime User
You need to remove the device administator setting you set with
B4X:
adb shell dpm set-device-owner your.package.name.here/anywheresoftware.b4a.objects.AdminReceiver2
Find the same command but to disable....

I did several searches already, but I can't find a solution... :(
 
Upvote 0
Top