Cocos Creator で Android App Bundle を使用してゲームを公開する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Android App Bundle は、アプリのコンパイル済みコードとリソースがすべて含まれた公開形式です。ただし、APK の生成と署名は Google Play が行います。
Google Play は、App Bundle を使用し、デバイス設定ごとに最適化した APK を生成して配信します。それによって、個々のデバイスでアプリを実行するために必要なコードとリソースだけがダウンロードされます。デベロッパー側では、多様なデバイスのサポートを最適化するために複数の APK をビルド、署名、管理する必要がなくなり、ユーザー側では、よりサイズが小さく、最適化された APK をダウンロードできるようになります。
AAB 形式でゲームを公開する方法
Cocos Creator の場合は、Android Build パネルの [App Bundle を生成(Google Play)] オプションをオンにするだけです。これでゲームが AAB 形式で公開されます。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[],[],null,["# Publish your game with Android App Bundle in Cocos Creator\n\nAn [Android App Bundle](/guide/app-bundle) is a publishing format that includes\nall your app's compiled code and resources, and defers APK generation and\nsigning to Google Play.\n\nGoogle Play uses your app bundle to generate and serve optimized APKs for each\ndevice configuration, so only the code and resources that are needed for a\nspecific device are downloaded to run your app. You no longer have to build,\nsign, and manage multiple APKs to optimize support for different devices, and\nusers get smaller, more-optimized downloads.\n\nHow to publish your game with AAB format\n----------------------------------------\n\nIn Cocos Creator, just check the **Generate App Bundle (Google Play)** option in\nthe Android Build panel. Your game will then be published with the AAB format."]]