Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsatisfiedLinkError crash in getAllMimeTypesForURI #421

Open
kreativityapps opened this issue Aug 28, 2024 · 2 comments
Open

UnsatisfiedLinkError crash in getAllMimeTypesForURI #421

kreativityapps opened this issue Aug 28, 2024 · 2 comments

Comments

@kreativityapps
Copy link

Using super_clipboard: ^0.8.19 some users get the following crash:

Fatal Exception: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String[] com.superlist.super_native_extensions.DataProvider.getAllMimeTypesForURI(java.lang.String, java.lang.String) (tried Java_com_superlist_super_1native_1extensions_DataProvider_getAllMimeTypesForURI and Java_com_superlist_super_1native_1extensions_DataProvider_getAllMimeTypesForURI__Ljava_lang_String_2Ljava_lang_String_2) - is the library loaded, e.g. System.loadLibrary?
       at com.superlist.super_native_extensions.DataProvider.getAllMimeTypesForURI(DataProvider.java)
       at com.superlist.super_native_extensions.DataProvider.getMimeTypeForURI(DataProvider.java:78)
       at com.superlist.super_native_extensions.DataProvider.openTypedAssetFile(DataProvider.java:52)
       at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:574)
       at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:327)
       at android.os.Binder.execTransactInternal(Binder.java:1326)
       at android.os.Binder.execTransact(Binder.java:1268)
        

I can't reproduce it myself, but from analytics I can see that it occurs on Android versions between 9-14 and different device types.

My config:
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.5 23F79 darwin-arm64)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

@superlistapp superlistapp deleted a comment Aug 28, 2024
@superlistapp superlistapp deleted a comment Aug 28, 2024
@knopp
Copy link
Collaborator

knopp commented Aug 28, 2024

Can you determine if those device have anything in common? I'd need to be able to reproduce this.

@kreativityapps
Copy link
Author

Not really.
Most crashes are on Xiaomi Redmi 9A (32%) and on Android 11 (44%)
Other devices are:

  • other Xiaomi devices (Redmi Note 8, Redmi A2)
  • Lenovo Mobile (Lenovo Tab M10 Plus 3rd Gen, Lenovo Tab M11)
  • Oppo (RMX3627, Realme 9i)
  • HCT Mobile - FIH Foxconn (BV4900Pro)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants