首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >添加对话框流依赖项时生成失败

添加对话框流依赖项时生成失败
EN

Stack Overflow用户
提问于 2019-05-19 14:46:51
回答 1查看 487关注 0票数 3

当我加上

代码语言:javascript
复制
implementation 'com.google.cloud:google-cloud-dialogflow:0.92.0-alpha'

对于我的java/android项目,生成失败的消息是找到了重复的类:

代码语言:javascript
复制
Duplicate class com.google.api.Advice found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Advice$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Advice$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AdviceOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AnnotationsProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthProvider found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthProvider$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthProvider$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthProviderOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthRequirement found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthRequirement$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthRequirement$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthRequirementOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Authentication found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Authentication$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Authentication$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthenticationOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthenticationRule found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthenticationRule$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthenticationRule$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthenticationRuleOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthorizationConfig found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthorizationConfig$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthorizationConfig$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthorizationConfigOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.AuthorizationConfigProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Backend found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Backend$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Backend$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BackendOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BackendProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BackendRule found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BackendRule$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BackendRule$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BackendRuleOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Billing found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Billing$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Billing$BillingDestination found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Billing$BillingDestination$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Billing$BillingDestinationOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Billing$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BillingOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.BillingProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ChangeType found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ChangeType$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ConfigChange found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ConfigChange$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ConfigChange$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ConfigChangeOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ConfigChangeProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ConsumerProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Context found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Context$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Context$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ContextOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ContextProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ContextRule found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ContextRule$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ContextRule$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ContextRuleOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Control found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Control$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Control$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ControlOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ControlProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.CustomHttpPattern found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.CustomHttpPattern$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.CustomHttpPattern$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.CustomHttpPatternOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$Explicit found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$Explicit$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$ExplicitOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$Exponential found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$Exponential$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$ExponentialOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$Linear found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$Linear$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$LinearOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptions$OptionsCase found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$BucketOptionsOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$Range found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$Range$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Distribution$RangeOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DistributionOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DistributionProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Documentation found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Documentation$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Documentation$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DocumentationOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DocumentationProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DocumentationRule found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DocumentationRule$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DocumentationRule$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.DocumentationRuleOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Endpoint found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Endpoint$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Endpoint$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.EndpointOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.EndpointProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Experimental found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Experimental$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Experimental$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ExperimentalOrBuilder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.ExperimentalProto found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Http found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Http$1 found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)
Duplicate class com.google.api.Http$Builder found in modules classes.jar (com.google.firebase:protolite-well-known-types:16.0.1) and proto-google-common-protos-1.11.0.jar (com.google.api.grpc:proto-google-common-protos:1.11.0)

我不打算包含整个堆栈跟踪,因为它太长,不适合在这篇文章(它大约是65000个字符,它是相同的在每一行,直到堆栈跟踪结束)。大多数相互冲突的类似乎都是火基类。当我移除te对话框流依赖项时,我的项目构建为正常。这些都是我的依赖关系:

代码语言:javascript
复制
dependencies {
    implementation fileTree(include: ['*.aar', '*.jar'], dir: 'libs')
    implementation project(':pocketsphinx-android-5prealpha-release')
    implementation 'androidx.preference:preference:1.1.0-alpha05'
    implementation 'androidx.appcompat:appcompat:1.1.0-alpha05'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'androidx.gridlayout:gridlayout:1.0.0'
    implementation 'androidx.recyclerview:recyclerview:1.1.0-alpha05'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.palette:palette-ktx:1.0.0'
    implementation 'com.google.android.material:material:1.1.0-alpha06'
    implementation 'com.google.firebase:firebase-core:16.0.9'
    implementation 'com.google.firebase:firebase-database:17.0.0'
    implementation 'com.google.firebase:firebase-storage:17.0.0'
    implementation 'com.google.firebase:firebase-auth:17.0.0'
    implementation 'com.google.firebase:firebase-firestore:19.0.0'
    implementation 'com.google.android.gms:play-services-auth:16.0.1'
    implementation 'com.google.cloud:google-cloud-dialogflow:0.47.0-alpha'
    implementation 'com.mikhaellopez:circularimageview:3.2.0'
    implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.9.0'
    implementation 'com.google.ar.sceneform:core:1.9.0'
    implementation 'com.google.ar:core:1.9.0'
    implementation 'com.github.AppIntro:AppIntro:v5.1.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'com.crashlytics.sdk.android:crashlytics:2.10.0'
    testImplementation 'junit:junit:4.13-beta-2'
    androidTestImplementation 'androidx.test:runner:1.2.0-beta01'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0-beta01'
}

我不知道这是什么引起的。谢谢你的帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-05-26 17:27:37

这解决了我的构建问题:

代码语言:javascript
复制
implementation('com.google.cloud:google-cloud-dialogflow:0.93.0-alpha'){
     exclude group: 'com.google.api.grpc'
     exclude group: 'com.google.protobuf'
}

我认为您可能只需要第一个排除行,但对我来说,两个组都有重复的类。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56208923

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档