_java.lang.IllegalStateException

Trying to set device owner but device is already provisioned.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via GitHub by pliska87
    , 10 months ago
    Trying to set device owner but device is already provisioned.
  • via djproject by stlecho
    , 1 year ago
    Failed to connect to spawned VM! at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$OutProcess.createOut ProcessMessagingInterface(SWTNativeInterface.java:990) at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface
  • Stack trace

    • _java.lang.IllegalStateException: Trying to set device owner but device is already provisioned. at android.os.Parcel.readException(Parcel.java:1554) at android.os.Parcel.readException(Parcel.java:1499) at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:3212) at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:114) at com.android.commands.dpm.Dpm.onRun(Dpm.java:82) at com.android.internal.os.BaseCommand.run(BaseCommand.java:47) at com.android.commands.dpm.Dpm.main(Dpm.java:38) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.