פרסום הספרייה
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בנוסף לפרסום אפליקציות ל-Android למשתמשים, אפשר לפרסם ספריות שמפתחים יכולים לשלב באפליקציות שלהם. יש ארבע משימות עיקריות כשמפרסמים ספרייה ל-Android:
אם אתם מחברים של ספרייה, כדאי לקרוא את כל הדפים במסמך הזה כדי לקבל הסבר מפורט על ההיבטים והשלבים שקשורים לפרסום הספרייה.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-05-28 (שעון UTC).
[null,null,["עדכון אחרון: 2025-05-28 (שעון UTC)."],[],[],null,["# Publish your library\n\nIn addition to publishing Android apps for users, you can publish\nlibraries that developers can incorporate in their apps. There are four main\ntasks when publishing an Android library:\n\n- [Prepare the library for release](/studio/publish-library/prep-lib-release). During the preparation step, you configure settings such as the library name, the technical requirements to run or embed the library, and the metadata that helps the Android Gradle plugin (AGP) consume libraries.\n- [Configure publication\n variants](/studio/publish-library/configure-pub-variants). Publication variants let you publish different versions of your library, such as for debug versus release.\n- [Configure test fixtures for publication](/studio/publish-library/configure-test-fixtures). This helps ensure that your tests are robust and repeatable.\n- [Publish multiple libraries as one](/studio/publish-library/fused-library). Use the Fused Library to publish multiple libraries in a single library.\n- [Upload your library](/studio/publish-library/upload-library). This involves choosing a distribution mechanism and creating the actual publication.\n\nIf you're a library author, read through each page in this\ndocument for a detailed explanation of the considerations and steps involved in\npublishing your library."]]