เผยแพร่คลังของคุณ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
นอกจากการเผยแพร่แอป Android ให้แก่ผู้ใช้แล้ว คุณยังเผยแพร่ไลบรารีที่นักพัฒนาแอปนำไปใช้ในแอปของตนได้อีกด้วย งานหลักๆ 4 อย่างเมื่อเผยแพร่ไลบรารี 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."]]