ライブラリを公開する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Android アプリをユーザー向けに公開するだけでなく、アプリに組み込めるライブラリをデベロッパー向けに公開することもできます。Android ライブラリを公開する際の主要なタスクは次の 4 つです。
ライブラリを作成する場合は、このドキュメントのページを通読して、ライブラリの公開に関する考慮事項と手順の詳細な説明を確認してください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。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."]]