Android Studio 导出功能会保存一个 ZIP 文件,您可以提取该文件并将其用作 Android Studio 项目目录。它预配置了 Gradle 脚本和所有必需的资源,可直接以代码形式修改生成的表盘。
通过在 Android Studio 中修改表盘,您可以实现表盘格式的更高级功能,包括 Watch Face Designer 不支持的功能。
[null,null,["最后更新时间 (UTC):2025-08-27。"],[],[],null,["Watch Face Designer offers several options for seeing your watch face creation\ncome to life on a physical watch or using the [Android emulator](/studio/run/emulator).\n\nGoogle Play **Note:** This is the recommended exporting method for designers who create watch faces on Wear OS.\n\nGoogle Play publishes files that use the `.aab` ([Android App Bundle](/guide/app-bundle))\nformat. Watch Face Designer handles everything about packaging your watch face\ninto a bundle for you.\n\nTo publish to Play, follow [Google Play publishing instructions](/training/wearables/watch-face-designer/publish).\n\nAndroid Studio **Note:** This is the recommended exporting method for developers who create watch faces on Wear OS.\n\nAndroid Studio export saves a ZIP file that you can extract and use as an\nAndroid Studio project directory. It comes preconfigured with Gradle scripts and\nall the necessary resources to directly edit your generated watch face as code.\nBy editing your watch face in Android Studio, you can implement [more advanced\nfeatures of the Watch Face Format](/reference/wear-os/wff/watch-face), including ones that aren't supported in\nWatch Face Designer.\n\nOther methods\n\nWatch Face Designer supports several other exporting methods, as well.\n\nOne-click deploy **Note:** This option is available only on macOS development machines. If you're developing on a Windows, Linux, or ChromeOS machine, use [APK exports](#apk) instead.\n\nTo export using one-click deploy, complete the following steps:\n\n1. Connect your Wear OS device to your computer over USB.\n\n On Pixel Watch 2 and Pixel Watch 3 devices, you can do this using the\n included charging cable.\n\n For devices that don't support direct USB connections, such as\n Pixel Watch (1), see [Wirelessly debugging a Wear OS app](/training/wearables/get-started/debugging#wifi-debugging).\n\n See the manufacturer's advice for other watches.\n2. Press **Export** in Watch Face Designer, then select **One-click deploy**,\n which prompts you to save a file.\n\n3. Double-click on that file to open it, and select the **Play** button:\n\n **Figure 1**: The deployed file open, ready for exporting\n\n The watch face is deployed to the watch and set as the current watch face\n favorite.\n | **Note:** You may need to accept a permissions dialog. If you press **Always Allow**, you don't have to do this again in future.\n\nAPK\n\nAn APK is an installable Android package. Watch Face Designer handles everything\nabout packaging and preparing your APK for you.\n\nTo deploy your APK, do the following:\n\n1. Install [ADB](/tools/adb).\n2. Connect your watch over USB or [over Wi-Fi](/training/wearables/get-started/debugging#wifi-pair).\n3. Use the [`adb install`](/tools/adb#move) command.\n\nRaw resources\n\nThis export option saves your watch face as an uncompiled Android package, with\nan `AndroidManifest.xml` and `res/` folder containing your watch face's code and\nresources.\n\nYou can use this package with a tool like [AAPT2](/tools/aapt2) to customize how APKs and\nAABs are generated. This is useful if you need more fine-grained tuning options\naround features like signing keys and certificates.\n\nWatch Face Studio (experimental)\n\nThis option creates a project for use in [Watch Face Studio](https://developer.samsung.com/watch-face-studio/overview.html).\n| **Note:** Some features from Figma might not appear as expected in Watch Face Studio."]]