How to attach library to the Android project and use it?

旧巷老猫 提交于 2019-12-11 02:54:56

问题


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 ...

Who can tell how I can attach .so file to my android project ?

EDITED:

I can't understand how I can import library (.so) to the eclipse project using NDK AS told in comments of user: mudit ?


回答1:


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

For more details on Android NDK: check here.

For downloading the Android NDK: check here.



来源:https://stackoverflow.com/questions/5896260/how-to-attach-library-to-the-android-project-and-use-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!