不允许设置设备所有者 [英] Not allowed to set the device owner

查看:483
本文介绍了不允许设置设备所有者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有人问过问题,但我无法获得设备所有权.

I know question has been asked but i can't get device ownership.

我正在使用带有android 7.0的三星xcover 4.

I'm with a samsung xcover 4 with android 7.0.

我启动此命令:

C:\Users\xxx\AppData\Local\Android\Sdk\platform-tools>adb shell dpm set-device-owner org.wso2.iot.system.service/.ServiceDeviceAdminReceiver

我收到此错误:

java.lang.IllegalStateException: Not allowed to set the device owner because the
re are already some accounts on the device
        at android.os.Parcel.readException(Parcel.java:1701)
        at android.os.Parcel.readException(Parcel.java:1646)
        at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDev
icePolicyManager.java:6067)
        at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:148)
        at com.android.commands.dpm.Dpm.onRun(Dpm.java:96)
        at com.android.internal.os.BaseCommand.run(BaseCommand.java:51)
        at com.android.commands.dpm.Dpm.main(Dpm.java:41)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:316)

出厂重置已完成. 我也禁用并卸载了所有应用程序,但仍然没有运气.有什么办法吗? 谢谢.

factory reset done. I also disable and uninstall all applications but still no luck. Any solution? Thanks.

推荐答案

错误状态

因为设备上已经有一些帐户

because there are already some accounts on the device

转到设置"->帐户",然后删除所有帐户(例如Gmail,Facebook等).如果没有更多帐户,请重试.

Go to Settings -> Accounts and remove all accounts (like Gmail, Facebook, ...). When there are no more accounts, try again.

这篇关于不允许设置设备所有者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆