-
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~ |
Beta Was this translation helpful? Give feedback.
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/ |
Beta Was this translation helpful? Give feedback.
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/