简体   繁体   中英

set App to Device Owner using adb not working due to Accounts on device

I am trying to set my app to Device Owner on my device using adb ("adb shell dpm set-device-owner...") but it is giving me the following error:

"Not allowed to set the device owner because there are already several users on the device"

Having looked to solve the problem I checked Settings > Accounts and there are no users in there even though adb is telling me there are?

I am using a Lenovo Tab 4 HD - 7 Inch running 7.1.1

My method worked previously on a Samsung Tab A 7 inch running 4.4.2

Any ideas?

Thanks in advance.

ok. Sir, I guess you must try the following steps

  1. reset the device.
  2. skip the account entry in the Gmail
  3. try to run the adb shell command and with luck, this will work Note: Check your tabled/mobile adb is properly installed or not and run the adb shell command after you have installed the app on cell/tablet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM