Open javapa opened 1 year ago
Hi there
In your MAUI solution, install ACRCloudSdkCore.NativeAssets.Linux
and ACRCloudSdkCore.NativeAssets.MacOS
nuget packages may solve your problem.
Hey
Thanks again for the speedy reply but that didn't work for me. It can be because I'm not knowledgeable enough in this area. I used an Azure function to resolve.
Hello
Sorry for the late reply, after installing the two package, is there any so
/dylib
file in your ./bin/Release/netX.X/runtimes/linux-x64
or ./bin/Release/netX.X/runtimes/osx
folder?
In my CentOS8 system, I've created a new console project with ACRCloudSdkCore
and ACRCloudSdkCore.NativeAssets.Linux
packages to test this problem, but it seems to be fine.
Program.cs
:
// See https://aka.ms/new-console-template for more information
ACRCloudSdkCore.ACRCloudExtractTools.NativeMethods.Init();
Console.WriteLine("ok");
Hi
I am developing a .NET Maui application targeting Android and iOS. I installed the ACRCloudSdkCore nuget package. When I am using the acrCloudRecognizer.RecognizeAsync(bytes) method I get the System.DllNotFoundException: 'libacrcloud_extr_tool'. Do I need to create a windows console or web api project to target this SDK and then make requests to that API from my .NET Maui project and fetch the result like that or is there another solution?