android - 程序类型已经存在 : okhttp3. Authenticator$1

标签 android instamojo kite

我们使用 lib 文件夹中的 kiteconnect.jar 文件进行套接字连接。现在我在应用程序中集成 Instamojo 支付网关,但在运行应用程序时出现此错误 程序类型已经存在:okhttp3.Authenticator$1 Message{kind=ERROR, text=程序类型已经存在:okhttp3.Authenticator$1, sources=[Unknown source file], tool name=Optional.of(D8)}

解压kiteconnect.jar文件后,在里面找到了okhttp3接口(interface)。 现在我不知道该如何处理。 请帮帮我

最佳答案

要解决依赖冲突,添加一个配置。

configurations {

all*.exclude group: 'com.squareup.okhttp3', module: 'okhttp'

 }

关于android - 程序类型已经存在 : okhttp3. Authenticator$1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50961995/

相关文章:

android - 单击按钮时应用程序崩溃,(使用 xml android :onClick and Fragment classes)

android - 如何在 Android 中设置到期日期

php - 如何使用来自支付网关的重定向链接更新 mysql 数据库?

php - 美元付款未在 WooCommerce Wordpress 网站中转换为卢比

python - Jupyter Lab - Kite 已安装但无法正常工作

java - onBindViewHolder 方法有什么问题

ios - 如何在 Swift 3.2 及以上版本中集成 instamojo

pycharm - 如何在pycharm中激活kite?

hadoop - 在没有类(-对象)的情况下创建 Avro 模式

java - 将 ProtocolBuffer 消息的重复字段提供给自定义列表适配器