x/mobile: Cannot use two different libraries built with gomobile in the same Android app #35744
Labels
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am trying to build an Android app that uses keybaselib and libuplink as dependencies. These two Android libraries are both built with gomobile.
What did you expect to see?
I expected that building my Android app with these two dependencies would be successful.
What did you see instead?
Building the app failed with this error:
Both libraries are built with gomobile, so both have
libgojni.so
in their AARs. So they conflict when added as dependencies in the same Android app.Are there any guidelines how to use more than one Android library built with gomobile in the same Android app?
The text was updated successfully, but these errors were encountered: