-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type kotlin.coroutines.jvm.internal.DebugProbesKt is defined multiple times #1079
Comments
新建插件工程,做插件开发,导入plugin-gradle 3.1.0&plugin.lib3.1.0也遇到了该问题,有大佬知道如何解决? |
自己构建kotlin协程库的依赖, 然后将DebugProbesKt 从源代码中删除, 自己构建。 生产环境使用自己构建的coroutin的包。 |
谢谢解答!我是基于demo2进行代码迁移,可以完成插件开发流程。但是当加入新的依赖库 (work-rumtime)后会出现这个问题,此方法可用。 |
请问下,我纯java的工程,没有依赖kt 为啥也会报这个错啊? |
可以基于demo2做研究,把相关代码进行移植 |
要把kotlin协程库源码下载下来,删除DebugProbesKt ,做成jar包吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用的是最新的replugin 3.1.
使用了kotlinx-coroutines-core-jvm 打包后报错, 发现DebugProbesKt 在多个dex的包定义了.
The text was updated successfully, but these errors were encountered: