<legend id='8iXBU'><style id='8iXBU'><dir id='8iXBU'><q id='8iXBU'></q></dir></style></legend>

    <small id='8iXBU'></small><noframes id='8iXBU'>

    1. <tfoot id='8iXBU'></tfoot>

        <i id='8iXBU'><tr id='8iXBU'><dt id='8iXBU'><q id='8iXBU'><span id='8iXBU'><b id='8iXBU'><form id='8iXBU'><ins id='8iXBU'></ins><ul id='8iXBU'></ul><sub id='8iXBU'></sub></form><legend id='8iXBU'></legend><bdo id='8iXBU'><pre id='8iXBU'><center id='8iXBU'></center></pre></bdo></b><th id='8iXBU'></th></span></q></dt></tr></i><div id='8iXBU'><tfoot id='8iXBU'></tfoot><dl id='8iXBU'><fieldset id='8iXBU'></fieldset></dl></div>
          <bdo id='8iXBU'></bdo><ul id='8iXBU'></ul>

        AndroidManifest.xml 中的属性 application@allowBackup value=(fals

        时间:2024-04-14
      1. <small id='nYExB'></small><noframes id='nYExB'>

        <legend id='nYExB'><style id='nYExB'><dir id='nYExB'><q id='nYExB'></q></dir></style></legend>

          <tbody id='nYExB'></tbody>
      2. <i id='nYExB'><tr id='nYExB'><dt id='nYExB'><q id='nYExB'><span id='nYExB'><b id='nYExB'><form id='nYExB'><ins id='nYExB'></ins><ul id='nYExB'></ul><sub id='nYExB'></sub></form><legend id='nYExB'></legend><bdo id='nYExB'><pre id='nYExB'><center id='nYExB'></center></pre></bdo></b><th id='nYExB'></th></span></q></dt></tr></i><div id='nYExB'><tfoot id='nYExB'></tfoot><dl id='nYExB'><fieldset id='nYExB'></fieldset></dl></div>

          <tfoot id='nYExB'></tfoot>
                • <bdo id='nYExB'></bdo><ul id='nYExB'></ul>
                • 本文介绍了AndroidManifest.xml 中的属性 application@allowBackup value=(false) 也存在于 [:barcodescanner:] AndroidManifest.xml value=(true)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试将 ionic 3 应用清单中的 allowBackup 属性设置为 false,但 gradle 抱怨以下错误:

                  I’m trying to set the allowBackup attribute in my ionic 3 app manifest to false but gradle complains with the following error:

                  来自 AndroidManifest.xml:4:18-45 的属性 application@allowBackup value=(false) 也存在于 [:barcodescanner:] AndroidManifest.xml:12:9-35 value=(true).建议:添加 'tools:replace="android:allowBackup"'将 AndroidManifest.xml:4:5-11:19 处的元素覆盖.

                  Attribute application@allowBackup value=(false) from AndroidManifest.xml:4:18-45 is also present at [:barcodescanner:] AndroidManifest.xml:12:9-35 value=(true). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:4:5-11:19 to override.

                  使用 config.xml 文件中的以下行设置 allowBackup=false

                  To Set allowBackup=false using below line in config.xml file

                  <platform name="android"> <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge"> <application android:allowBackup="false"/> </edit-config> </platform>
                  

                  我在我的 ionic 3 应用程序中使用条形码扫描仪.(回购:https://github.com/phonegap/phonegap-plugin-barcodescanner 在 https://ionicframework.com/中推荐docs/native/barcode-scanner/)

                  I use Barcode Scanner in my ionic 3 app.(Repo: https://github.com/phonegap/phonegap-plugin-barcodescanner recommended in https://ionicframework.com/docs/native/barcode-scanner/)

                  请帮助我.谢谢!

                  推荐答案

                  你必须告诉编译器忽略来自外部库的属性.这样做的方法是在应用程序标签中添加这一行:

                  You have to tell the compiler to ignore the attribute from the external library. The way to do that is to add this line in application tag:

                  tools:replace="android:allowBackup"
                  

                  PS:要访问这些工具,请在顶部的清单标记中添加 xmlns:tools="http://schemas.android.com/tools".

                  PS: To access the tools add xmlns:tools="http://schemas.android.com/tools" in the manifest tag at the top.

                  这篇关于AndroidManifest.xml 中的属性 application@allowBackup value=(false) 也存在于 [:barcodescanner:] AndroidManifest.xml value=(true)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Ionic firebase 指定 google-services.json 下一篇:Ionic 3 - cocoapods 的 xcode 错误

                  相关文章

                    <small id='d5ph4'></small><noframes id='d5ph4'>

                      <bdo id='d5ph4'></bdo><ul id='d5ph4'></ul>
                    <i id='d5ph4'><tr id='d5ph4'><dt id='d5ph4'><q id='d5ph4'><span id='d5ph4'><b id='d5ph4'><form id='d5ph4'><ins id='d5ph4'></ins><ul id='d5ph4'></ul><sub id='d5ph4'></sub></form><legend id='d5ph4'></legend><bdo id='d5ph4'><pre id='d5ph4'><center id='d5ph4'></center></pre></bdo></b><th id='d5ph4'></th></span></q></dt></tr></i><div id='d5ph4'><tfoot id='d5ph4'></tfoot><dl id='d5ph4'><fieldset id='d5ph4'></fieldset></dl></div>
                    <tfoot id='d5ph4'></tfoot>
                    <legend id='d5ph4'><style id='d5ph4'><dir id='d5ph4'><q id='d5ph4'></q></dir></style></legend>