在关注 this 之后,我正在尝试设置 Google GMS 许可证以在我的应用程序中显示使用过的库的许可证。从谷歌网站尝试运行应用程序时出现以下错误
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)}
我该如何解决这样的错误?
最佳答案
这意味着您的项目中已经有 google-play-services 库......可能在项目的某些模块或依赖项中。
删除其中一个,错误就会消失。
关于android - 程序类型已经存在 : com. google.android.gms.actions.ItemListIntents,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52167590/