Skip to content

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

@Riant

Description

@Riant

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

有什么办法解决吗?

谢谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions