Gradle은 빌드 프로세스 동안 애플리케이션용 Android 앱 매니페스트를 생성합니다. 다음의 방법 중 하나로 자체 콘텐츠를 사용하여 이 Android 앱 매니페스트를 오버라이드할 수 있습니다.
Android 앱 매니페스트 파일의 포맷과 콘텐츠에 대해 부분적으로 제어할 수 있으려면 커스텀 템플릿이 있는 Unity 기본 라이브러리 매니페스트 파일을 오버라이드합니다. 이렇게 하려면 다음 단계를 따르십시오.
Edit > Project Settings로 이동하여 프로젝트 설정 창을 엽니다.
Player 탭을 선택한 다음 Android 플레이어 설정을 엽니다.
Publishing Settings 섹션에서 Custom Main Manifest를 활성화합니다.이렇게 하면 Unity 라이브러리 매니페스트 파일이 생성되고 파일에 대한 경로가 표시됩니다.Unity 라이브러리 매니페스트를 제어하는 설정에 대한 자세한 내용은 Unity 라이브러리 매니페스트를 참조하십시오.
Gradle은 Android 라이브러리에 있는 매니페스트를 메인 매니페스트로 병합하고 최종 설정이 올바른지 확인합니다.
Android 앱 매니페스트 파일을 완전히 제어하려면 Unity 프로젝트를 익스포트하고 Android Studio에서 Android 앱 매니페스트를 편집해야 합니다. 자세한 내용은 Android 프로젝트 익스포트를 참조하십시오.
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.