Parcourir la source

Update android-faq.md

Björn Ritzl il y a 11 mois
Parent
commit
0dc8030b1b
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  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).