I am working on my first Android project. I am using Android Studio 2.2.3. I created a Wear project, selected No Activity, then selected the WatchFace template.
So far I have just tweaked the Java file to display the time in the format I want. It runs in the emulator and I am able to generate a signed APK. I am able to get the APK installed on my mobile device, but I can't get AndroidWear to see it in its list of available watch faces. It IS possible to test watch faces on physical Wear devices before uploading them to the store etc, isn't it? I have been doing a bunch of searching online but haven't found much on watch faces. My AndroidManifest contains: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.termtime.baiguai.terminaltime"> <uses-feature android:name="android.hardware.type.watch" /> <!-- Required to act as a custom watch face. --> <uses-permission android:name="android.permission.WAKE_LOCK" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@android:style/Theme.DeviceDefault"> <service android:name=".TerminalTimeFace" android:label="@string/my_digital_name" android:permission="com.google.android.permission.PROVIDE_BACKGROUND"> <meta-data android:name="android.service.wallpaper" android:resource="@xml/watch_face" /> <meta-data android:name="com.google.android.wearable.watchface.preview" android:resource="@drawable/preview_digital" /> <meta-data android:name="com.google.android.wearable.watchface.preview_circular" android:resource="@drawable/preview_digital_circular" /> <intent-filter> <action android:name="android.service.wallpaper.WallpaperService" /> <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" /> </intent-filter> </service> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> </application> </manifest> Enter code here... And my build.gradle contains: apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.termtime.baiguai.terminaltime" minSdkVersion 23 targetSdkVersion 25 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { //compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:multidex:1.0.0' compile 'com.google.android.support:wearable:2.0.0' compile 'com.google.android.gms:play-services-wearable:10.0.1' provided 'com.google.android.wearable:wearable:2.0.0' } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/30b3d5cc-aac9-45c7-ad64-72c1def2d398%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

