Repository navigation
|
Halo,can anyone help,how to import a so file in MAUI app? I use DllImport to import .so file. But it throw System.DllNotFoundException: 'libadd.so'.
My .so file store path is Resources/lib/x86_64/libadd.so Thank you so much~ |
Answered by
xtuzy
Jan 2, 2023
Replies: 1 comment 7 replies
|
Use Android Class library store .so, example;https://github.com/xtuzy/Veldrid.SPIRV.NativeAsset/tree/master/Veldrid.SPIRV.AndroidNativeAsset doc of xamarin:https://learn.microsoft.com/en-us/xamarin/cross-platform/cpp/ |
7 replies
Answer selected by
Yxxxxl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Use Android Class library store .so,
example;https://github.com/xtuzy/Veldrid.SPIRV.NativeAsset/tree/master/Veldrid.SPIRV.AndroidNativeAsset
doc of xamarin:https://learn.microsoft.com/en-us/xamarin/cross-platform/cpp/