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

checkDebugDuplicateClasses报错,与声网的一个库有重复文件夹,无法编译通过 #314

Open
KubyWong opened this issue Dec 23, 2023 · 1 comment

Comments

@KubyWong
Copy link

Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class internal.com.getkeepsafe.relinker.ApkLibraryInstaller found in modules jetified-chat-sdk-1.1.0-runtime (io.agora.rtc:chat-sdk:1.1.0) and jetified-hyphenate-chat-4.3.0-runtime (io.hyphenate:hyphenate-chat:4.3.0)
Duplicate class internal.com.getkeepsafe.relinker.ApkLibraryInstaller$ZipFileInZipEntry found in modules jetified-chat-sdk-1.1.0-runtime (io.agora.rtc:chat-sdk:1.1.0) and jetified-hyphenate-chat-4.3.0-runtime (io.hyphenate:hyphenate-chat:4.3.0)
Duplicate class internal.com.getkeepsafe.relinker.BuildConfig found in modules jetified-chat-sdk-1.1.0-runtime (io.agora.rtc:chat-sdk:1.1.0) and jetified-hyphenate-chat-4.3.0-runtime (io.hyphenate:hyphenate-chat:4.3.0)

@jinanzhuan
Copy link
Contributor

Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class internal.com.getkeepsafe.relinker.ApkLibraryInstaller found in modules jetified-chat-sdk-1.1.0-runtime (io.agora.rtc:chat-sdk:1.1.0) and jetified-hyphenate-chat-4.3.0-runtime (io.hyphenate:hyphenate-chat:4.3.0)
Duplicate class internal.com.getkeepsafe.relinker.ApkLibraryInstaller$ZipFileInZipEntry found in modules jetified-chat-sdk-1.1.0-runtime (io.agora.rtc:chat-sdk:1.1.0) and jetified-hyphenate-chat-4.3.0-runtime (io.hyphenate:hyphenate-chat:4.3.0)
Duplicate class internal.com.getkeepsafe.relinker.BuildConfig found in modules jetified-chat-sdk-1.1.0-runtime (io.agora.rtc:chat-sdk:1.1.0) and jetified-hyphenate-chat-4.3.0-runtime (io.hyphenate:hyphenate-chat:4.3.0)

很抱歉有这样的问题,类似的问题我们和声网已经沟通过,他们已经发布了新的版本 1.2.1 版本,这个版本,他们解决了类冲突的问题,麻烦升级一下声网的这个库。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants