在Android应用程序中使用dll库 [英] using dll library in android application

查看:322
本文介绍了在Android应用程序中使用dll库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个dll C#库,想要通过我的Android应用程序使用它,我设法通过java运行它,但它没有通过android工作,我使用的方式和提出的异常描述这里,但是我发现通过搜索这种方式将无法与android一起工作,我也发现了很多关于这个问题的问题,但没有得到任何合适的答案(例如 here 此处,...等),所以,我只想要一个明确的答案,我可以还是不能?如果我可以使用任何工作,怎么办?

解决方案

动态链接库(也写为unhyphenated)或DLL,是Microsoft在Microsoft Windows中实现共享库概念



Android是基于Linux内核的目前由Google开发的移动操作系统(OS)。



所以不,你不能。在某种虚拟机上,从理论上讲,仍然没有。


I have a dll C# Libraries and want to use it through my android app, I managed to run it through java but it didn't work through android, the way I used and the Exception raised is described here, but I found through searching that this way won't work with android, also I found a lot of questions about that issue but didn't got any suitable answer (e.g here, here, ...etc), So, I just want a clear answer, can I or can't? and if I can using any work around, How ?

解决方案

Dynamic-link library (also written unhyphenated), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows

Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google.

So no, you cant. Teoretically in some kind of VM, still - no.

这篇关于在Android应用程序中使用dll库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆