如何连接库到Android项目,并使用它呢? [英] How to attach library to the Android project and use it?
本文介绍了如何连接库到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文件附加到我的Android项目?
编辑:
我不明白我怎么可以导入库(的.so)使用NDK Eclipse项目在用户的意见告诉:mudit
推荐答案
要使用C库或任何本地库,你必须使用Android NDK。
To use a C library or for that any native library, you have to use Android NDK.
有关的Android NDK的更多详细信息:检查这里
For more details on Android NDK: check here.
有关下载的Android NDK:检查这里
For downloading the Android NDK: check here.
这篇关于如何连接库到Android项目,并使用它呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文