블로그 이미지
Every unexpected event is a path to learning for you.

카테고리

분류 전체보기 (2737)
Unity3D (817)
Programming (474)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (228)
협업 (58)
3DS Max (3)
Game (12)
Utility (136)
Etc (96)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday
04-21 00:01

[Error Message]

-------------------------------------------

stderr[

        Attribute application@fullBackupContent value=(@xml/vungle_backup_rule) from [com.vungle:publisher-sdk-android:6.8.1] AndroidManifest.xml:20:9-60

        is also present at [com.appsflyer:af-android-sdk:6.1.0] AndroidManifest.xml:16:18-73 value=(@xml/appsflyer_backup_rules).

        Suggestion: add 'tools:replace="android:fullBackupContent"' to element at AndroidManifest.xml:4:3-99:17 to override.

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':processReleaseManifest'.

> Manifest merger failed : Attribute application@fullBackupContent value=(@xml/vungle_backup_rule) from [com.vungle:publisher-sdk-android:6.8.1] AndroidManifest.xml:20:9-60

        is also present at [com.appsflyer:af-android-sdk:6.1.0] AndroidManifest.xml:16:18-73 value=(@xml/appsflyer_backup_rules).

        Suggestion: add 'tools:replace="android:fullBackupContent"' to element at AndroidManifest.xml:4:3-99:17 to override.

-------------------------------------------

 

AppsFlyer를 사용하고 있었고, Admob 미디에이션 플러그인으로 이번에 Vungle을 추가하면서 위와 같은 안드로이드 빌드 에러가 나서 확인해보니 이전부터 있던 충돌 문제 같다.

 

해결방법은 아래와 같다.

 

[해결방법]

Androidmanifest.xml 파일의 application에 아래와 같이 3가지 내용을 추가한다.

자동백업 여부에 따라서 1,2번 중 하나로 설정하면 된다.

(자동백업 하다가 꼬일 것 같아서 나는 1) 자동백업 false로 설정함)

 

1) 자동백업을 안하려면 false

<application
    tools:replace="android:fullBackupContent" android:allowBackup="false" android: fullBackupContent="false"

>

 

2) 자동백업 하려면 true

<application
    tools:replace="android:fullBackupContent" android:allowBackup="true" android: fullBackupContent="true"

>

 

 

[참조] github.com/AppsFlyerSDK/appsflyer-android-sdk/issues/9

 

Help · Issue #9 · AppsFlyerSDK/appsflyer-android-sdk

tools:replace specified at line:20 for attribute android:fullBackupContent, but no new value specified

github.com

[참조2] m.blog.naver.com/netrance/221224761858

 

[안드로이드] 앱 삭제 했는데 데이터가 남아 있는 문제

앱을 삭제 후 재설치하면, 삭제 전에 저장되었던 자료들이 남아있는 문제가 발견되었습니다. 원인은 자동 ...

blog.naver.com

 

반응형
Posted by blueasa
, |