본문 바로가기

관리 메뉴

[Unity/Android] 빌드오류 The minSDK Version can not be specified in the AndroidManifest.xml file. 본문

프로그래밍/ㄴ이슈

[Unity/Android] 빌드오류 The minSDK Version can not be specified in the AndroidManifest.xml file.

최갓 2020. 8. 27. 11:52
반응형

사용 유니티 버전 : 2020.1.3f

 

빌드 퍼블리싱 세팅에서 custom android manifest 체크 하여 활성화 한 상태에서

기본 구글 샘플 프로젝트를 빌드하니 다음과 같은 에러가 발생했다

 

 

  The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

 

해결 방법은 유니티 프로젝트의 기본 AndroidManifest 파일을 제외한 모든 매니페스트에 있는

 

<uses-sdk android:minSdkVersion="14" />

위와 같은 구문을 제거해주자

반응형
Comments