Android Question About "kiosk":Not allowed to set the device owner

yzhy-mail

Member
I want to test this example in my phone:https://www.b4x.com/android/forum/threads/device-owner-tasklock-kiosk-apps-2017.81765/#content

But get this error,maybe someone can help me!
I don't know if how to remove"Existing user accounts on the device ".
Device is my phone.

koisk:
PS D:\Android\platform-tools> adb shell dpm set-device-owner kiosk1.example/anywheresoftware.b4a.objects.AdminReceiver2
java.lang.IllegalStateException: Not allowed to set the device owner because there are already some accounts on the device
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 1
Top