Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManif
16lz
2021-12-04
项目依赖库和主程序的allowBackup冲突
解决方法:
添加tools:replace属性,替换要覆盖的标签属性即可。这样库文件中AndroidManifest文件标签属性会被主程序的标签属性替换掉。
参考:http://stackoverflow.com/questions/25981156/tools-replace-not-replacing-in-android-manifest
更多相关文章
- 在AndroidManifest.xml文件中的android:windowSoftInputMode属性
- 常用属性
- Android总结篇系列:Android(安卓)Intent
- 【Android】Android中 Paint 字体、粗细等属性的一些设置
- Android之属性动画、值动画
- android:windowSoftInputMode属性的使用
- Android(安卓)configChanges属性总结
- Android(安卓)编辑框(EditText)属性学习
- 【Android(安卓)应用开发】Activity 任务亲和性 taskAffinity 设