如何连接库到Android项目,并使用它呢? [英] How to attach library to the Android project and use it?

查看:166
本文介绍了如何连接库到Android项目,并使用它呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题我已经写在 C A 的.so 文件。我想将这个文件附加到Android项目!我使用的的Eclipse ...

I have a problem I have a .so file written on C. I want to attach this file to a Android Project ! I am using Eclipse ...

谁能告诉我该怎么.so文件附加到我的Andr​​oid项目?

编辑:

我不明白我怎么可以导入库(的.so)使用NDK Eclipse项目在用户的意见告诉:mudit

推荐答案

要使用C库或任何本地库,你必须使用Android NDK。

To use a C library or for that any native library, you have to use Android NDK.

有关的Andr​​oid NDK的更多详细信息:检查这里

For more details on Android NDK: check here.

有关下载的Andr​​oid NDK:检查这里

For downloading the Android NDK: check here.

这篇关于如何连接库到Android项目,并使用它呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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