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 编译时报错:Program type already present: cn.jiguang.a.a #64

Open
Riant opened this issue Jan 27, 2021 · 0 comments
Open

Comments

@Riant
Copy link

Riant commented Jan 27, 2021

React native: 0.63.3

我已经集成 jpush,jmessage 了,当我引入 janalytics 之后,打包时报错了:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDexDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
     Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
     Program type already present: cn.jiguang.a.a

有什么办法解决吗?

谢谢。

@Riant Riant changed the title 编译时报错:Program type already present: cn.jiguang.a.a Android 编译时报错:Program type already present: cn.jiguang.a.a Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant