Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

How to make an imported library works on Android build .apk?

$
0
0
Hello, I am currently making a Unity project which aims at working on Android. I need to perform an operation (registration) which requires the use of a complex mathematical operation (Singular Values Decomposition). I found that *MathNet.Numerics* has an implementation of *svd()* which is exactly what I need (along with Matrix implementation which was quite useful to me) To make it work on my Unity project I simply downloaded the *.zip* and put the *.dll* into my **Assets/Plugins** folder and that was it. But my problem is that it (obviously?) doesn't work anymore when building it to Android as an *.apk*. Displaying errors like "Can't find MathNet.Numerics.dll". Unfortunately I have very little knowledge about Android development and all of this. So my question is, in the context of a Unity Project : Is it possible to make that function of *MathNet.Numerics* works on my Android (or any other library providing a *svd()* function such as *OpencvSharp*) ? If it is, how? If it is not, should I then rewrite this mathematical operation myself without importing anything library external to Unity, isn't there a better way? I spent a lot of time searching on Google but I didn't manage to get convinced of any answer, probably due to my lack of knowledge and understanding on the subject. Thanks in advance,

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>