Version: 2022.2
언어: 한국어
APK 확장 파일
Manually install an APK expansion file

Unity의 APK 확장 파일

이 페이지에서는 Unity Android 애플리케이션 컨텍스트에서 APK 확장 파일이 작동하는 방법을 설명합니다.

Unity는 애플리케이션을 메인 APK와 .obb 파일 확장자를 사용하는 단일 APK 확장 파일로 자동 분할할 수 있습니다. Unity에서 이 프로세스는 애플리케이션 바이너리 분할이라고 부릅니다. 이 프로세스가 생성하는 APK 확장 파일은 메인 APK 확장 파일이며 패치 APK 확장자를 생성하고자 하는 경우 반드시 수동으로 해야 합니다.

Create the main APK expansion file

To create the main APK expansion file for your application, indicate to Unity to split the application. For information on how to do this, refer to Splitting the application binary.

애플리케이션을 빌드하면 Unity가 APK를 생성한 다음 메인 APK 확장 파일이 이를 출력 디렉토리에 복사합니다. Unity는 APK 확장 파일 이름에 .main으로 구분된 애플리케이션 이름을 사용합니다. 예를 들어 애플리케이션을 my-app이라고 하는 경우 APK는 my-app.apk이고 APK 확장 파일은 my-app.main.obb이 됩니다.

If the application starts and it can’t find and load the main APK expansion file, only the first Scene is available. In this case, try to download the APK expansion file. For more information, refer to Download process.

Create the patch APK expansion file

Unity only automatically creates the main APK 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, refer to 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. Unity가 생성한 메인 APK 확장 파일을 찾습니다. zip 아카이브입니다.
  2. APK 확장 zip 아카이브에서 파일을 추출합니다.
  3. 추출한 파일 리스트에서 unity_obb_guid 파일을 찾습니다.
  4. 이 파일을 패치 확장 파일에 복사합니다.

추가 리소스

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