Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch Face not found #1243

Open
induna-crewneck opened this issue Jan 16, 2025 · 1 comment
Open

Watch Face not found #1243

induna-crewneck opened this issue Jan 16, 2025 · 1 comment

Comments

@induna-crewneck
Copy link

induna-crewneck commented Jan 16, 2025

I'm still learning the ropes with Android Studio, I hope this isn't a totally stupid question.

I downloaded the code to look at and play around with the Watch Face Format samples. I loaded them up in Android Studio and it built fine, but I can't add a Wear OS Watch Face configuration. When I select SimpleDigital.watchface as module, it says "Watch Face not found"

How / Where do I specify an .xml or .kt to act as a watch face?

In another project I started from scratch, I have this in my manifest:

<service
android:name=".watchface.test"
android:exported="true"
android:label="@string/watchface_label"
android:permission="com.google.android.wearable.permission.BIND_TILE_PROVIDER" >
<intent-filter>
<action android:name="androidx.wear.watchface.action.BIND_WATCH_FACE" />
</intent-filter>
<meta-data
android:name="android.support.wearable.watchface."
android:value="SHORT_TEXT" />
<meta-data
android:name="androidx.wear.watchface.format.version"
android:resource="@drawable/watchface_preview" />
<meta-data
android:name="android.support.wearable.watchface.UPDATE_PERIOD_SECONDS" android:value="1" /> `

but same issue with "Watch Face not found"

@yschimke
Copy link
Contributor

I don't believe that developer flow is supported for WFF. possibly worth disabling in Android Studio.

Instructions are here https://github.com/android/wear-os-samples/tree/main/WatchFaceFormat#building-the-samples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants