The attribute property#android.adservices.AD_SERVICES_CONFIG@resource=@xml/gma_ad_services_config in cohttp://m.google.android.gms:play-services-measurement-api:22.1.2 collides with another value
여러가지 plugin을 프로젝트에 추가한 후 빌드를 했는데, 위의 메시지가 뜬다면
버전 충돌에 의한 오류가 발생했다는 것입니다.
- 저는 firebaseAuth, Google sign in, Google Mobile Ads을 추가한 상태였습니다.
해결방법
Project Settings -> Player -> Custom Main Manifest를 체크하여 AndroidManifest 파일을 사용하게 합니다.
<manifest
...
<application
...
<property
android:name="android.adservices.AD_SERVICES_CONFIG"
android:resource="@xml/gma_ad_services_config"
tools:replace="android:resource" />
...
</application>
...
</manifest>
AndroidManifest.xml 파일에 위의 property를 추가해줍니다.
(Manifest 병합 충돌을 방지하고, 필요한 리소스를 올바르게 참조하도록 설정)
참고 링크
android 안드로이드 - AGP 8.3.0에서 매니페스트 병합 실패 - 스택 오버플로
Manifest merger failed with AGP 8.3.0
I'm trying to upgrade my project to AGP 8.3.0 but I'm getting the error: Attribute property#android.adservices.AD_SERVICES_CONFIG@resource value=(@xml/ga_ad_services_config) from [com.google.androi...
stackoverflow.com
'Unity' 카테고리의 다른 글
Unity Shader Graph 이용한 외곽선 생성법 (0) | 2025.01.07 |
---|---|
Unable to load DLL 'native-googlesignin' 해결법 (0) | 2024.12.20 |
Google Sign in Plugin 임포트시 발생하는 에러 해결법 (1) | 2024.12.17 |
유니티 구글 플레이 업적 시스템, 리더 보드 (0) | 2024.10.27 |
유니티 퀘스트 설계 아이디어 (ScriptableObject) (0) | 2024.07.07 |