Error: Attribute application@label value=(@string/appname) from AndroidManifest

时间:2021-05-24 03:27:53   收藏:0   阅读:0

这是因为Library项目中也定义了与主项目相同的属性,就会导致合并失败,比如都默认生成的android:label="@string/app_name" 或者 android:icon="@drawable/icon_logo"

 

技术图片

 

 红框中加入冲突的标签就可以解决问题

tools:replace="android:icon, android:theme , android:label"

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!