Configuring cygwin for building ndk project

你。 提交于 2019-12-24 16:41:10

问题


I have searched on the Internet a lot and I'm trying to build my ndk files and then include them to my Android project on eclipse. After searching on Internet I came to know that cygwin is required to build ndk project. I have downloaded the necessary files for cygwin, however I'm blank for the next step. i.e steps for how to build my ndk files on cygwin terminal and then include them to my eclipse android project. Kindly help me on these steps. Would be appreciated!


回答1:


If you are using the latest ndk release you do not need cygwin. Just runndk-build.cmd windows command file which comes with the ndk. It is that way starting from ndk revision 8.

Study OVERVIEW.html in the android-ndk/docs subdir. Also there is a 'samples' subdir in the android-ndk, study hello-jni in there and try to build and run it. Also there is a book 'Android NDK Beginner's Guide' look it up on the net it covers basically everything



来源:https://stackoverflow.com/questions/13111919/configuring-cygwin-for-building-ndk-project

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