x/mobile: tests for android application fail #35403
Labels
help wanted
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Built an
aar
usingGO111MODULE=off gomobile bind -target=android -o libs/libwallet.aar github.com/muun/libwallet
. I then included the aar in an android gradle project. Running the app and triggering the gomobile code works perfectly. However, running the tests fails with the following stacktrace:After some research, I believe that the problem is gomobile produces libraries for android targets but it doesn't produce one for OS X. Since tests run in a regular java process, it fails to find a compatible shared library in the aar.
The aar is included in the gradle file like this:
What did you expect to see?
Green tests
What did you see instead?
Stacktrace above
The text was updated successfully, but these errors were encountered: