I am trying to use the library in the net Maui android app but after seeing the previous posts about bass in.net maui I still couldn't get it to work,
what I tried: here is the code I used to import the library(libbass.so):
#elif __ANDROID__
NativeLibrary.TryLoad($"{libraryName}.so", assembly, DllImportSearchPath.ApplicationDirectory, out libHandle);
and call it like this:
public override void OnCreate()
{
base.OnCreate();
// Load the native library here
NativeLibrary.SetDllImportResolver(typeof(BassNet).Assembly, ImportResolver);
// Other initialization code if needed
}
but still get the dll not found error when initializing bass (DLL not found)
I'm a beginner in Maui if I did anything wrong please let me know,
by the way, you guys did an amazing job on the library totally underrated,
and much thanks and love in advance.