정확한 ErrLog
@resource value=(@xml/ga_ad_services_config) from [com.google.android.gms:play-services-measurement-api:22.1.0] AndroidManifest.xml:32:13-58 is also present at [com.google.android.gms:play-services-ads-lite:23.3.0] AndroidManifest.xml:92:13-59 value=(@xml/gma_ad_services_config). Suggestion: add 'tools:replace="android:resource"' to <property> element at AndroidManifest.xml to override.
Caused by :
Caused by: java.lang.RuntimeException: Manifest merger failed :
Attribute property#android.adservices.AD_SERVICES_CONFIG@
resource value(@xml/ga_ad_services_config) from [com.google.android.gms:play-services-measurement-api:22.1.0] AndroidManifest.xml:32:13-58
is also present at [com.google.android.gms:play-services-ads-lite:23.3.0] AndroidManifest.xml:92:13-59 value=(@xml/gma_ad_services_config).
Suggestion: add 'tools:replace="android:resource"' to <property> element at AndroidManifest.xml to override.
에러 메시지를 보아하니 광고 붙이는 라이브러리랑 충돌 나는것 같다..
로그 메시지대로 manifest에 property추가
<application>
...
<property
android:name="android.adservices.AD_SERVICES_CONFIG"
android:resource="@xml/gma_ad_services_config"
tools:replace="android:resource" />
</application>
내 프로젝트 xml에는 gma_ad_services_config가 없는데 gradle cache에 ads라이브러리쪽에 있네요
광고 라이브러리 충돌이 맞는 것 같습니다.
댓글