Version: 2022.1
Create the main APK expansion file
Test an APK expansion file

Create the patch APK expansion file

Unity only automatically creates the main APKThe Android Package format output by Unity. An APK is automatically deployed to your device when you select File > Build & Run. More info
See in Glossary
expansion file, but you can manually create the patch APK expansion file if the application requires more storage space. For information on how to create the patch APK expansion file, see Android’s Development checklist documentation.

APK compatibility

When you create the patch expansion file, you must include a unity_obb_guid file within it so Android recognizes the APK expansion as being compatible with the APK. To do this:

  1. Find the main APK expansion file that Unity generates. It’s a zip archive.
  2. Extract the files from the APK expansion zip archive.
  3. In the list of extracted files, find the unity_obb_guid file.
  4. Copy this file over to the patch expansion file.

Additional resources

Create the main APK expansion file
Test an APK expansion file
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961