소스 검색

Update android-faq.md

Björn Ritzl 11 달 전
부모
커밋
0dc8030b1b
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      docs/en/shared/android-faq.md

+ 10 - 0
docs/en/shared/android-faq.md

@@ -13,3 +13,13 @@ $ adb install Defold\ examples.apk
       pkg: /data/local/tmp/Defold examples.apk
 Success
 ```
+
+
+#### Q: Why am I getting errors about conflicting properties in AndroidManifest.xml when building with certain extensions?
+A: This can happen when two or more extensions provide an Android Manifest stub containing the same property tag but with different values. This has for instance happened with Firebase and AdMob. The build error looks similar to this:
+
+```
+SEVERE: /tmp/job4531953598647135356/upload/AndroidManifest.xml:32:13-58 Error: Attribute property#android.adservices.AD_SERVICES_CONFIG@resource value=(@xml/ga_ad_services_config) from AndroidManifest.xml:32:13-58 is also present at 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. 
+```
+
+You can read more about the issue and the workaround in reported Defold issue [#9453](https://github.com/defold/defold/issues/9453#issuecomment-2367367269) and Google issue [#327696048](https://issuetracker.google.com/issues/327696048?pli=1).