AndroidManifest 合并出错 tools:replace="android:allowBackup"

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hxy19971101/article/details/81265019

解决方法:

在manifest中加入xmlns:tools="http://schemas.android.com/tools"

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="包名">

在application节点添加

<application tools:replace="android:allowBackup" ......

问题完美解决!

猜你喜欢

转载自blog.csdn.net/hxy19971101/article/details/81265019
今日推荐