Share via

DLLImport Failed in Android with MAUI

L GG 1 Reputation point
2022-12-30T15:38:26.763+00:00

Code: 
[DllImport("SDK.dll")]
public static extern int Initialize();

Error:System.DllNotFoundException: 'SDK.dll'

It can be used normally on winform, and an error is reported when switching to MAUI.

Looking for HELP.

Developer technologies | .NET | .NET MAUI
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.