-
google 연동 중 manifest 파일 merge 안될 때개발 이야기/개발 및 서비스 2018. 5. 29. 14:50728x90반응형
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 파일을 머지 할 때 문제가 발생하는 듯 하다.
반응형'개발 이야기 > 개발 및 서비스' 카테고리의 다른 글
REST API post 호출 안될 때 (0) 2018.06.02 ios에서 facebook 관련 link error (0) 2018.05.31 google 연동 중 manifest 파일 merge 안될 때 (0) 2018.05.29 지역 코드 얻어오기 (1) 2018.01.19 Tizen - first wearable app (0) 2016.05.01 ui 이벤트가 일반 input 이벤트 구분하기 (0) 2016.01.11 TAG