Type com.dimeno.mine.BuildConfig is defined multiple times:

编程入门 行业动态 更新时间:2024-10-10 00:22:39

Type com.dimeno.mine.<a href=https://www.elefans.com/category/jswz/34/1292485.html style=BuildConfig is defined multiple times:"/>

Type com.dimeno.mine.BuildConfig is defined multiple times:

记录一个bug,我新建了个demo工程,里面新加了个library,然后编译的时候一直报错

Type com.dimeno.mine.BuildConfig is defined multiple times: F:\workspace\plugin\mine\app\build\intermediates\project_dex_archive\debug\out\com\dimeno\mine\BuildConfig.dex, F:\workspace\plugin\mine\mine\build\.transforms\2569fdd86ab10f877b4fef56e0e8ecdf\classes\classes.dex

找了多种资料后无果,然后我再删除掉重新添加了library,根据差异排查法,能够不同的就只有library了,于是我把library的名字改了,改成和项目名称不一样,再次编译,成功了。

更多推荐

Type com.dimeno.mine.BuildConfig is defined multiple times:

本文发布于:2024-03-23 19:09:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1741762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:BuildConfig   dimeno   Type   times   multiple

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!