2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
Android ソースを取得する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
オープンソース ライセンスによってソースコードを受け取る権利が付与されている、Android プロダクト内でバイナリ形式で Google から配布されているサードパーティ コンポーネントのソースコードを入手するには、http://android.googlesource.com にアクセスしてください。ソースのダウンロード手順については、Android ソースをダウンロードするをご覧ください。
コンポーネントのソースコードが http://android.googlesource.com で入手できない場合は、次のフォームを送信してソースコードのコピーを入手できます。
お客様の情報は、Google のプライバシー ポリシーに従って使用されます。
手続き費用をカバーするための手数料が請求される場合があります。リクエストは、次のいずれかのルールに従って送信する必要があります。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-06-12 UTC。
[null,null,["最終更新日 2025-06-12 UTC。"],[],[],null,["# Get Android source\n\nTo get the source code for third-party components distributed by Google in\nbinary form within an Android product, where the open source license grants you\nthe right to receive the source, go to\n\u003chttp://android.googlesource.com\u003e.\nYou can find instructions for downloading the source at [Download the Android source](/docs/setup/download).\n\nIf the source code for the component isn't available on\n\u003chttp://android.googlesource.com\u003e, you can\nreceive a copy of the source code by submitting the following form: \n\n#### Request source code\n\nYour information will be used in accordance with [Google's Privacy Policy](https://policies.google.com/privacy).\n\nWe might charge you a fee to cover the cost of processing. Your request must be\nsent according to whichever of the following rules applies:\n\n- Within three years of the date you received the product from Google that\n included the component or binary files that are the subject of your request.\n\n- In the case of code licensed under the GPL v3, for as long as Google offers\n spare parts or customer support for that product model."]]