Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

duplicate clas error #2

@hsynkunduz

Description

@hsynkunduz

hello, we have a big project with lots of libraries added. when I add lingohub to build.gradle file and try to run project I got below error

Duplicate class a.a.a found in modules jetified-installreferrer-2.2-runtime (com.android.installreferrer:installreferrer:2.2) and jetified-lh-android-sdk-1.0.0-beta06-runtime (com.lingohub:lh-android-sdk:1.0.0-beta06)

I tried to add these things in proguard-rules.pro file

-keep class com.lingohub.** { *; } -keep interface com.lingohub.** { *; } -keep enum com.lingohub.** { *; }

and I'm using

implementation 'com.lingohub:lh-android-sdk:1.0.0-beta06'

still I got the error. Do you have a solution for this?

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