Forum Xamarin.Android

Java.Lang.UnsatisfiedLinkError: While trying to load library on a thread other than main thread.

In my custom PageRenderer for android I am trying to load a library on a separate thread like below

    private void LoadNativeLibraries()
        new Thread(()=> {


But it is throwing

Java.Lang.UnsatisfiedLinkError: Library vpx not found; tried [/vendor/lib/, /system/lib/]

But if I try to load it without creating a separate thread everything works fine.

Any help?

Sign In or Register to comment.