jpush / janalytics-react-native

MIT License
51 stars 21 forks source link

Android 编译时报错:Program type already present: cn.jiguang.a.a #64

Open Riant opened 3 years ago

Riant commented 3 years ago

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

有什么办法解决吗?

谢谢。