2016년 4월 21일 목요일

Cocos2d-x android:label setting fail error



*ENV
- Windows 8.1
- Cocos2d-x 3.9
- Android studio 2.0

*Problem
Merging manifest with lower [proj.android-studio:libcocos2dx:unspecified] AndroidManifest.xml:2:1-16:12
Merging uses-sdk with lower [proj.android-studio:libcocos2dx:unspecified] AndroidManifest.xml:7:5-9:41
Merging application with lower [proj.android-studio:libcocos2dx:unspecified] AndroidManifest.xml:11:5-14:19
Merging result:ERROR
myapp\proj.android-studio\app\AndroidManifest.xml:11:9-41 Error:
        Attribute application@label value=(@string/app_name) from AndroidManifest.xml:11:9-41
        is also present at [proj.android-studio:libcocos2dx:unspecified] AndroidManifest.xml:13:9-36 value=(libcocos2dx).
        Suggestion: add 'tools:replace="android:label"' to element at AndroidManifest.xml:8:5-28:19 to override.

I try it Suggestion.

Add code tools:replace="android:label" to element
Like this.


Do Build and success.
PS. It should add xmlns="https://schemas.android.com/tools".


Save your day!

댓글 없음:

댓글 쓰기

JIRA Plugin - ScriptRunner 소개 #2

관련 글 소개 #1:  https://pineoc.blogspot.com/2019/03/scriptrunner-1.html ScriptRunner 소개 #2 지난 글에서는 Behaviours를 보았고 다음 내용인 콘솔, 리스너 등을 ...