Reputation: 653
I downloaded a sample WFF project from Google's developer docs here: https://github.com/android/wear-os-samples/tree/main/WatchFaceFormat
I imported it into Android Studio. When I try to create a Wear OS Watch Face run configuration, I select the Module and then the Watch Face field just says "Watch Face not found" and does not allow me to continue.
The error at the bottom of the dialog says "Error: Watch Face is not chosen."
There appears to be minimal documentation about the new Watch Face Format; most existing questions and tutorials are all for the older Jetpack APIs, which I've successfully run in an emulator before.
Upvotes: 1
Views: 109
Reputation: 111
I get the same thing when I try to run from configurations.
What I do is open the "Terminal" tab at the bottom of Android Studio, and type the following:
.\gradlew assembleDebug
adb.exe install-multiple -r .\watchface\build\outputs\apk\debug\watchface-debug.apk
This runs the watchface on the emulator, but you cannot use Studio's debugging.
Upvotes: 1