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

 

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

 

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

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

 

相关文章:

  • 2021-09-27
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-27
  • 2021-05-21
  • 2021-12-22
  • 2022-12-23
  • 2021-10-17
  • 2022-02-05
  • 2022-12-23
相关资源
相似解决方案