Android tools:replace用法
使用场景,为什么需要Android tools:replace
假设我们使用了第三方android module,这个module处于某种原因在开发的时候使用了app_name。比如下面这样
<application
android:icon="@mipmap/ic_launcher"
android:allowBackup="true"
android:backupAgent="com.github.shadowsocks.ConfigBackupHelper"
android:extractNativeLibs="true"
android:label="@string/app_name"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:banner="@mipmap/banner">
........
</application>
我们自己app也有指定android:label,那么就会产生冲突报错大致如下
Manifest merger failed : Attribut...