애플리케이션용 메인 APK 확장 파일을 생성하려면 Unity에 애플리케이션을 분할하도록 지정합니다. 애플리케이션을 분할하는 방법에 대한 자세한 내용은 애플리케이션 바이너리 분할을 참조하십시오.
애플리케이션을 빌드하면 Unity가 APK를 생성한 다음 메인 APK 확장 파일이 이를 출력 디렉토리에 복사합니다. Unity는 APK 확장 파일 이름에 .main
으로 구분된 애플리케이션 이름을 사용합니다. 예를 들어 애플리케이션을 my-app
이라고 하는 경우 APK는 my-app.apk
이고 APK 확장 파일은 my-app.main.obb
이 됩니다.
Build and Run을 선택하는 경우 Unity는 기기에 APK와 APK 확장 파일을 모두 설치합니다. Build를 선택하고 ADB 유틸리티를 사용하여 수동으로 앱을 설치하고자 하는 경우 반드시 먼저 APK를 설치한 다음 APK 확장 파일을 기기의 올바른 위치에 복사해야 합니다. APK 확장 파일 이름은 반드시 Google에서 요구하는 포맷과 일치해야 합니다. 자세한 내용은 확장 파일을 참조하십시오.
애플리케이션이 시작되고 APK 확장 파일을 찾아서 로드할 수 없는 경우 첫 번째 씬만 사용할 수 있습니다. 이런 경우에는 APK 확장 파일 다운로드를 시도해야 합니다. 자세한 내용은 다운로드 프로세스를 참조하십시오.
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.