이 페이지에서는 Unity Android 애플리케이션 컨텍스트에서 APK 확장 파일이 작동하는 방법을 설명합니다.
Unity는 애플리케이션을 메인 APK와 .obb
파일 확장자를 사용하는 단일 APK 확장 파일로 자동 분할할 수 있습니다. Unity에서 이 프로세스는 애플리케이션 바이너리 분할이라고 부릅니다. 이 프로세스가 생성하는 APK 확장 파일은 메인 APK 확장 파일이며 패치 APK 확장자를 생성하고자 하는 경우 반드시 수동으로 해야 합니다.
애플리케이션의 메인 APK 확장 파일을 생성하려면 애플리케이션을 분할하도록 Unity에 지시하십시오.자세한 방법은 애플리케이션 바이너리 분할을 참조하십시오.
애플리케이션을 빌드하면 Unity가 APK를 생성한 다음 메인 APK 확장 파일이 이를 출력 디렉토리에 복사합니다. Unity는 APK 확장 파일 이름에 .main
으로 구분된 애플리케이션 이름을 사용합니다. 예를 들어 애플리케이션을 my-app
이라고 하는 경우 APK는 my-app.apk
이고 APK 확장 파일은 my-app.main.obb
이 됩니다.
애플리케이션이 시작되고 메인 APK 확장 파일을 찾아서 로드할 수 없는 경우 첫 번째 씬만 사용할 수 있습니다.이 경우 APK 확장 파일을 다운로드해 보십시오.자세한 내용은 다운로드 프로세스를 참조하십시오.
Unity는 메인 APK 확장 파일만 자동으로 생성하지만, 애플리케이션에 더 많은 저장 공간이 필요한 경우 패치 APK 확장 파일을 수동으로 생성할 수 있습니다.패치 APK 확장 파일을 만드는 자세한 방법은 Android의 개발 체크리스트 문서를 참조하십시오.
패치 확장 파일을 생성할 때, Android가 해당 확장 파일을 APK와 호환되는 것으로 인식할 수 있도록 그 안에 unity_obb_guid
파일을 포함해야 합니다.이 작업을 수행하는 방법은 다음과 같습니다.
unity_obb_guid
파일을 찾습니다.Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.