AndroidManifest.xml Error: Attribute 'allowBackup' Conflict Solution
Solution:
To fix this error, you need to add the 'tools:replace' attribute to the '
- Open your AndroidManifest.xml file.
- Locate the '
' element. - Add the following attribute to the '
' element: tools:replace='android:allowBackup' - Your '
' element should now look like this:
<application android:allowBackup='true' tools:replace='android:allowBackup' ...>
- Save your changes and rebuild your project.
By adding the 'tools:replace' attribute, you are telling the build tools to override the conflicting attribute from the geopackage-android library with the value from your own AndroidManifest.xml file.
原文地址: https://www.cveoy.top/t/topic/oUZW 著作权归作者所有。请勿转载和采集!