_java.lang.IllegalStateException: Trying to set device owner but device is already provisioned.

GitHub | pliska87 | 3 months ago
  1. 0

    GitHub comment 2#246684010

    GitHub | 3 months ago | pliska87
    _java.lang.IllegalStateException: Trying to set device owner but device is already provisioned.
  2. 0

    Failed to connect to spawned VM!

    djproject | 5 years ago | stlecho
    _java.lang.IllegalStateException: 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$OutProcess.createOut ProcessCommunicationChannel(SWTNativeInterface.java:735) at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface.open_(SWTNativeInter face.java:320) at chrriis.dj.nativeswing.swtimpl.NativeInterface.open(NativeInterface.java:100)

    Root Cause Analysis

    1. _java.lang.IllegalStateException

      Trying to set device owner but device is already provisioned.

      at android.os.Parcel.readException()
    2. Android Platform
      IDevicePolicyManager$Stub$Proxy.setDeviceOwner
      1. android.os.Parcel.readException(Parcel.java:1554)
      2. android.os.Parcel.readException(Parcel.java:1499)
      3. android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:3212)
      3 frames
    3. com.android.commands
      Dpm.onRun
      1. com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:114)
      2. com.android.commands.dpm.Dpm.onRun(Dpm.java:82)
      2 frames
    4. Android
      BaseCommand.run
      1. com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
      1 frame
    5. com.android.commands
      Dpm.main
      1. com.android.commands.dpm.Dpm.main(Dpm.java:38)
      1 frame
    6. Android
      RuntimeInit.nativeFinishInit
      1. com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
      1 frame