8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
x/mobile: multiple libraries in android #56567
Closed
@DAT4

Description

@DAT4

This question I made originally on stackoverflow - but I never got any reply.


I am trying to use two different go packages in my android app project

I am using gomobile and each package is compiled with

gomobile bind --target=android

They are imported like this

implementation files("libs/packageone.aar")
implementation files("libs/packagetwo.aar")

and they work separateley, but they conflict when i try to run the app.

and I get the following error

Duplicate class go.Seq found in modules jetified-packageone-runtime (packageone.aar) and jetified-packagetwo-runtime (packagetwo.aar)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0