zl程序教程

您现在的位置是:首页 >  其它

当前栏目

AS编译报错:Program type already present: com.igexin.assist.control.vivo.VivoPushManager

报错 编译 type com as Control already program
2023-09-27 14:27:30 时间

问题现象

AGPBI: {"kind":"error","text":"Program type already present: com.igexin.assist.control.vivo.VivoPushManager","sources":[{}],"tool":"D8"}

解决方案

  1. 先确定是哪个依赖包引入的上述类
  2. 在依赖的地方进行屏蔽,类似如下:
implementation ("xx group:xx module:xx版本号"){
    exclude group: 'com.assist', module: 'vivo'
}