Skip to content

Commit

Permalink
Merge pull request #1194 from android/validate-docs
Browse files Browse the repository at this point in the history
Updates WFF Readme
  • Loading branch information
garanj authored Oct 17, 2024
2 parents 91a19e6 + 57227be commit dcd71d3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions WatchFaceFormat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ cd SimpleDigital
./gradlew assembleDebug
```

To then install and set as the current watch face on a device or emulator:
Additional commands that you can run from the command-line:

```shell
adb install watchface/build/outputs/apk/debug/watchface-debug.apk
adb shell am broadcast -a com.google.android.wearable.app.DEBUG_SURFACE --es operation set-watchface --es watchFaceId com.example.simpledigital
```
- `./gradlew validateWff` - This only validates the WFF XML files, but will not build the APK. This task is automatically run as part of `assembleDebug` and
`bundleDebug`.
- `./gradlew validateWffAndInstall [--device <deviceid>]` - builds and validates the watch face, then installs and sets on a connected device or emulator.

For more guidance on building and signing release builds, see
[signing guidance][signing] on developer.android.com
Expand Down

0 comments on commit dcd71d3

Please sign in to comment.