设置android佩戴手表设备所有者

时间:2015-12-29 06:54:35

标签: android wear-os kiosk-mode device-owner

我们正在为需要自助服务终端模式的Android手表(在我的情况下为索尼3)创建一个应用程序。

使用

adb shell 
dpm set-device-owner com.example/.MyDeviveAdminReceiver

我得到了

Can't set package com.example as device owner.

使用

db shell pm list features

我得到了

feature:reqGlEsVersion=0x20000
feature:android.hardware.bluetooth
feature:android.hardware.bluetooth_le
feature:android.hardware.faketouch
feature:android.hardware.location
feature:android.hardware.location.gps
feature:android.hardware.microphone
feature:android.hardware.screen.portrait
feature:android.hardware.sensor.accelerometer
feature:android.hardware.sensor.compass
feature:android.hardware.sensor.gyroscope
feature:android.hardware.sensor.light
feature:android.hardware.sensor.stepcounter
feature:android.hardware.sensor.stepdetector
feature:android.hardware.touchscreen
feature:android.hardware.touchscreen.multitouch
feature:android.hardware.type.watch
feature:android.hardware.usb.accessory
feature:android.hardware.wifi
feature:android.software.home_screen
feature:android.software.live_wallpaper
feature:android.software.voice_recognizers
feature:com.sonymobile.watch

有没有人有自己为Android佩戴手表创建设备所有者应用程序?

1 个答案:

答案 0 :(得分:0)

没有尝试使用可穿戴设备,但大部分时间我通过adb设置DeviceOwner时遇到错误是由于设备上现有的Google帐户,这意味着它已经配置完毕。设备所有者设置要求设备未完全配置。

更多相关信息:How do you un-provision a device in order to set the Device Owner?