Type com.xxx.xxx.BuildConfig is defined multiple times

问题原因:
原因:在多module的模式下,module的manifest 中的package有相同的,导致产生了两个相同的BuildConfig文件
解决方案:
修改对应module的清单文件
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.xxx.xxx">

posted @ 2021-01-03 14:59  lianghe  阅读(6011)  评论(0编辑  收藏  举报