程序类型已经存在:com.google.android.gms.actions.ItemListIntents

时间:2018-09-04 13:34:21

标签: android gradle

从Google网站上跟踪this后,我试图设置Google GMS许可证以在我的应用程序中显示使用的库的许可证,而在尝试运行该应用程序时出现以下错误< / p>

Program type already present: com.google.android.gms.actions.ItemListIntents
Message{kind=ERROR, text=Program type already present: com.google.android.gms.actions.ItemListIntents, sources=[Unknown source file], tool name=Optional.of(D8)}

我该如何解决这样的错误?

1 个答案:

答案 0 :(得分:0)

这意味着您已经在项目中拥有google-play-services库...可能在项目的某些模块或依赖项中。

删除其中之一,错误将消失。

相关问题