How to limit Android Wear apps to specific devices? -


i'm developing android wear app collects vital data sensors analyses. it's still infant project , want work on several specific wearable devices.

however wearable app reject google play after published alpha release on due "incompatibility various wearable devices".

basic functionality of app not work described. sure test app on variety of different android wear devices , configurations.

in developer console, "manage devices" button works handheld one. wearable devices have been marked "unsupported".

dev console screenshot

how specify supported device android wear apps?

update (manifest)

phone:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"     package="tsundere.frederick.myapp">      <uses-permission android:name="android.permission.wake_lock" />     <uses-permission android:name="android.permission.receive_boot_completed" />     <uses-permission android:name="android.permission.body_sensors" />     <uses-permission android:name="android.permission.internet" />     <uses-permission android:name="android.permission.access_network_state" />     <uses-permission android:name="android.permission.location_hardware" />     <uses-permission android:name="android.permission.access_coarse_location" />     <uses-permission android:name="android.permission.access_fine_location" />     <uses-permission android:name="android.permission.access_location_extra_commands" />      <application         android:name=".application"         android:allowbackup="true"         android:icon="@mipmap/ic_launcher"         android:label="@string/app_name"         android:supportsrtl="true"         android:theme="@style/apptheme">         <activity             android:name=".mainactivity"             android:label="@string/app_name"             android:launchmode="singletop"             android:theme="@style/apptheme.noactionbar">             <intent-filter>                 <action android:name="android.intent.action.main" />                  <category android:name="android.intent.category.launcher" />             </intent-filter>         </activity>          <meta-data             android:name="com.google.android.gms.version"             android:value="@integer/google_play_services_version" />          <service             android:name=".listener.sensorlistener"             android:enabled="true"             android:exported="true">             <intent-filter>                 <action android:name="com.google.android.gms.wearable.data_changed" />                  <data                     android:host="*"                     android:pathprefix="/myapp_sensor"                     android:scheme="wear" />             </intent-filter>         </service>         <service             android:name=".listener.openphonelistener"             android:enabled="true"             android:exported="true">             <intent-filter>                 <action android:name="com.google.android.gms.wearable.message_received" />                  <data                     android:host="*"                     android:pathprefix="/myapp_open_phone"                     android:scheme="wear" />             </intent-filter>         </service>          <activity android:name=".labelactivity" />         <activity android:name=".settingactivity" />     </application>  </manifest> 

wear:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"           package="tsundere.frederick.myapp">      <uses-feature android:name="android.hardware.type.watch"/>      <uses-permission android:name="android.permission.wake_lock"/>     <uses-permission android:name="android.permission.body_sensors"/>      <application             android:name=".application"             android:allowbackup="true"             android:icon="@mipmap/ic_launcher"             android:label="@string/app_name"             android:supportsrtl="true"             android:theme="@android:style/theme.devicedefault">         <uses-library                 android:name="com.google.android.wearable"                 android:required="false"/>          <activity                 android:name=".mainactivity"                 android:label="@string/app_name"                 android:theme="@android:style/theme.devicedefault.light">             <intent-filter>                 <action android:name="android.intent.action.main"/>                  <category android:name="android.intent.category.launcher"/>             </intent-filter>         </activity>          <service                 android:name=".service.minimalsensorservice"                 android:enabled="true"                 android:exported="false">         </service>     </application>  </manifest> 

it's not possible limit device android wear 1.x. wear 2.0 hits moto 260 sport, you'll able upload standalone apk it, , select specific devices on google play using "manage devices".


Comments