Mount icon indicating copy to clipboard operation
Mount copied to clipboard

Adb不好用,手机Nexus 6p系统7.1.1

Open iroywang opened this issue 8 years ago • 0 comments

iroydeMacBook-Pro:~ iroy$ adb shell dpm set-device-owner usage: dpm [subcommand] [options] usage: dpm set-active-admin [ --user <USER_ID> | current ] <COMPONENT> usage: dpm set-device-owner [ --user <USER_ID> | current EXPERIMENTAL ] [ --name <NAME> ] <COMPONENT> usage: dpm set-profile-owner [ --user <USER_ID> | current ] [ --name <NAME> ] <COMPONENT> usage: dpm remove-active-admin [ --user <USER_ID> | current ] [ --name <NAME> ] <COMPONENT>

dpm set-active-admin: Sets the given component as active admin for an existing user.

dpm set-device-owner: Sets the given component as active admin, and its package as device owner.

dpm set-profile-owner: Sets the given component as active admin and profile owner for an existing user.

dpm remove-active-admin: Disables an active admin, the admin must have declared android:testOnly in the application in its manifest. This will also remove device and profile owners

Error: Argument expected after "set-device-owner"

iroywang avatar Apr 12 '17 13:04 iroywang