Version: 2022.2
Language : English
APK expansion files in Unity
Host APK expansion files

Manually install an APK expansion file

Main and patch expansion files must be in a particular location on the device for the application to read from them. If you Build and Run your application, Unity installs both the 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
and the main APK expansion file on the device.

If you instead want to install the application manually, or want to install a patch expansion file, you must use the ADBAn Android Debug Bridge (ADB). You can use an ADB to deploy an Android package (APK) manually after building. More info
See in Glossary
utility to copy APK expansion files into the correct location on your device. For information on how to do this, refer to Testing file reads.

Note: The APK expansion file name must correspond to the format that Google requires. For more information, refer to expansion files.

Additional resources

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