我知道有人提出了问题,但我无法获得设备所有权。
我使用的是三星 xcover 4,安卓 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)
恢复出厂设置完成。
我还禁用并卸载了所有应用程序,但仍然没有运气。有什么解决办法吗?
谢谢。
正如错误所述
因为设备上已经有一些帐户
转到“设置”->“帐户”并删除所有帐户(例如 Gmail、Facebook 等)。当没有更多帐户时,请重试。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)