ייצוא מ-Android Studio שומר קובץ ZIP שאפשר לחלץ ולהשתמש בו כספריית פרויקט של Android Studio. הוא מוגדר מראש עם סקריפטים של Gradle ועם כל המשאבים שנדרשים כדי לערוך ישירות את תצוגת השעון שנוצרה כקוד.
בעריכת תצוגת השעון ב-Android Studio, אפשר להטמיע תכונות מתקדמות יותר של Watch Face Format, כולל תכונות שלא נתמכות ב-Watch Face Designer.
שיטות אחרות
בנוסף, אפשר לייצא את עיצוב השעון ב-Watch Face Designer בכמה דרכים אחרות.
פריסה בלחיצה אחת
כדי לייצא באמצעות פריסה בלחיצה אחת, פועלים לפי השלבים הבאים:
מחברים את מכשיר Wear OS למחשב באמצעות USB.
במכשירי Pixel Watch 2 ו-Pixel Watch 3, אפשר לעשות את זה באמצעות כבל הטעינה שמצורף.
כשמייצאים את עיצוב השעון, הוא נשמר כחבילת Android לא מהודרת, עם תיקייה AndroidManifest.xml ותיקייה res/ שמכילות את הקוד והמשאבים של עיצוב השעון.
אפשר להשתמש בחבילה הזו עם כלי כמו AAPT2 כדי להתאים אישית את אופן היצירה של קובצי APK ו-AAB. האפשרות הזו שימושית אם אתם צריכים אפשרויות מפורטות יותר להתאמה אישית של תכונות כמו מפתחות ואישורים לחתימה.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-08-27 (שעון UTC)."],[],[],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."]]