Skip to content

Issue with Loading Native Library 'uniffi_xmtpv3' on Android #193

@stranger11

Description

@stranger11

Describe the bug

I encountered a fatal exception with the following error message:
java.lang.UnsatisfiedLinkError: Unable to load library 'uniffi_xmtpv3':
Native library (android-x86/libuniffi_xmtpv3.so) not found in resource path (.)
It seems that the native library 'uniffi_xmtpv3' is not being loaded properly on Android. The error points to a failure in locating the native library file. Additionally, there are suppressed exceptions indicating problems with symbol referencing and library extraction.

This issue occurs during the initialization of the application and prevents it from functioning correctly. It seems to be related to the absence of the '__atomic_is_lock_free' symbol in the referenced libraries.

Expected behavior

The native library 'uniffi_xmtpv3' should be loaded successfully without any errors.

Steps to reproduce the bug

1)Run the application on emulator with intel x86.
2)Observe the fatal exception reported in the log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions