Skip to content
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

android 12.13.0-RC Duplicate class #2291

Closed
Xiaolangs opened this issue Oct 21, 2022 · 5 comments
Closed

android 12.13.0-RC Duplicate class #2291

Xiaolangs opened this issue Oct 21, 2022 · 5 comments
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug
Milestone

Comments

@Xiaolangs
Copy link

Xiaolangs commented Oct 21, 2022

问题描述

android项目运行时重复类

复现

implementation("net.mamoe:mirai-core-android:$CORE_VERSION") {
    exclude module: "net.mamoe:mirai-core-api"
    exclude module: "net.mamoe:mirai-core-utils"

}
implementation("net.mamoe:mirai-core-api-android:$CORE_VERSION") {
    exclude module: "net.mamoe:mirai-core-utils"
}
implementation("net.mamoe:mirai-core-utils-android:$CORE_VERSION") 

mirai-core 版本

2.13.0-RC

bot-protocol

ANDROID_PHONE

其他组件版本

No response

系统日志

Duplicate class net.mamoe.mirai.internal.deps.io.ktor.utils.io.ByteBufferChannel found in the following modules: jetified-mirai-core-android-2.13.0-RC (net.mamoe:mirai-core-android:2.13.0-RC), jetified-mirai-core-api-android-2.13.0-RC (net.mamoe:mirai-core-api-android:2.13.0-RC) and jetified-mirai-core-utils-android-2.13.0-RC (net.mamoe:mirai-core-utils-android:2.13.0-RC)
Duplicate class net.mamoe.mirai.internal.deps.io.ktor.utils.io.ByteBufferChannel$Companion found in the following modules: jetified-mirai-core-android-2.13.0-RC (net.mamoe:mirai-core-android:2.13.0-RC), jetified-mirai-core-api-android-2.13.0-RC (net.mamoe:mirai-core-api-android:2.13.0-RC) and jetified-mirai-core-utils-android-2.13.0-RC (net.mamoe:mirai-core-utils-android:2.13.0-RC)
Duplicate class net.mamoe.mirai.internal.deps.io.ktor.utils.io.ByteBufferChannel$attachJob$1 found in the following modules: jetified-mirai-core-android-2.13.0-RC (net.mamoe:mirai-core-android:2.13.0-RC), jetified-mirai-core-api-android-2.13.0-RC (net.mamoe:mirai-core-api-android:2.13.0-RC) and jetified-mirai-core-utils-android-2.13.0-RC (net.mamoe:mirai-core-utils-android:2.13.0-RC)
Duplicate class net.mamoe.mirai.internal.deps.io.ktor.utils.io.ByteBufferChannel$awaitAtLeastSuspend$1 found in the following modules: jetified-mirai-core-android-2.13.0-RC (net.mamoe:mirai-core-android:2.13.0-RC), jetified-mirai-core-api-android-2.13.0-RC (net.mamoe:mirai-core-api-android:2.13.0-RC) and jetified-mirai-core-utils-android-2.13.0-RC (net.mamoe:mirai-core-utils-android:2.13.0-RC)
Duplicate class net.mamoe.mirai.internal.deps.io.ktor.utils.io.ByteBufferChannel$awaitFreeSpaceOrDelegate$1 found in the following modules: jetified-mirai-core-android-2.13.0-RC (net.mamoe:mirai-core-android:2.13.0-RC), jetified-mirai-core-api-android-2.13.0-RC (net.mamoe:mirai-core-api-android:2.13.0-RC) and jetified-mirai-core-utils-android-2.13.0-RC (net.mamoe:mirai-core-utils-android:2.13.0-RC)
Duplicate class net.mamoe.mirai.internal.deps.io.ktor.utils.io.ByteBufferChannel$consumeEachBufferRangeSuspend$1 found in the following modules: jetified-mirai-core-android-2.13.0-RC (net.mamoe:mirai-core-android:2.13.0-RC), jetified-mirai-core-api-android-2.13.0-RC (net.mamoe:mirai-core-api-android:2.13.0-RC) and jetified-mirai-core-utils-android-2.13.0-RC (net.mamoe:mirai-core-utils-android:2.13.0-RC)

网络日志

No response

补充信息

No response

@Him188 Him188 added the z:obsolete 状态: 过时的问题 label Oct 21, 2022
@Him188
Copy link
Member

Him188 commented Oct 21, 2022

#2248

@Him188 Him188 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2022
@Xiaolangs
Copy link
Author

#2248

也没有解决啊

@Him188
Copy link
Member

Him188 commented Oct 21, 2022

哦看错了

@Him188 Him188 reopened this Oct 21, 2022
@Him188 Him188 added t:bug 类型: bug s:core 子系统: mirai-core and removed z:obsolete 状态: 过时的问题 labels Oct 21, 2022
@Him188 Him188 added this to the 2.13.0 milestone Oct 21, 2022
@Him188 Him188 closed this as completed in 25e66d1 Oct 21, 2022
@Him188
Copy link
Member

Him188 commented Oct 21, 2022

等几小时后试试 2.13.0-dev-25e66d19 ?

@Xiaolangs
Copy link
Author

Xiaolangs commented Oct 21, 2022

等几小时后试试 2.13.0-dev-25e66d19 ?

这个没有问题 谢谢

@Him188 Him188 added the M 优先级: 主要 label Oct 31, 2022
Him188 added a commit that referenced this issue Oct 31, 2022
…irai-core-utils and mirai-core-all. Fix #2291

(cherry picked from commit 25e66d1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug
Projects
None yet
Development

No branches or pull requests

2 participants