728x90
반응형
Assets/Plugins/Android에 있는 AndroidManifest.xml 파일을 열어 아래 붉은 라인을 추가한다.
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.amazonaws.unity"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0">
tools로 붙은 태그는 빌드 시 적용되지 않는다. 툴 내부용 혹은 preview에만 적용되는 태그들이다.
왜 이 태그를 구글에서는 포함하지 않고 AndroidManifest.xml를 만드는지 모르겠지만 (범용으로 사용되는 내용은 아닌 듯...), 구글링 해보면 아래와 같은 문구를 찾을 수 있다.
It defines the XML namespace of the document. You should put it, otherwise tags like <RelativeLayout>
could be not recognied by the parser.
요약하자면 이 테그가 없으면, 툴에서 AndroidManifest.xml 파일을 머지 할 때 문제가 발생하는 듯 하다.
반응형
'개발 이야기 > Unity' 카테고리의 다른 글
라이센스 라이브러리 관련 Android Build error (0) | 2019.02.15 |
---|---|
ios에서 facebook 관련 link error (0) | 2018.05.31 |
google 연동 중 manifest 파일 merge 안될 때 (0) | 2018.05.29 |
bitbucket의 Unity cloud build 지원소식 (0) | 2017.03.02 |
Unity프로젝트를 SourceTree로 관리하기 - 6. 충돌 해결하기 (0) | 2017.01.19 |
Unity프로젝트를 SourceTree로 관리하기 - 5. branch 생성 및 merge 하기 (0) | 2017.01.06 |