![](/img/trans.png)
[英]Not allowed to set the device owner because there are already several users on the device
[英]Not allowed to set the device owner
我知道問題已被問到,但我無法獲得設備所有權。
我用的是帶有android 7.0的三星xcover 4。
我啟動此命令:
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,...)。 如果沒有其他帳戶,請重試。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.