建筑NDK项目配置Cygwin [英] Configuring cygwin for building ndk project

查看:155
本文介绍了建筑NDK项目配置Cygwin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在互联网上搜索了很多,我试图建立我的NDK的文件,然后将它们包括我在Eclipse上的Andr​​oid项目。在互联网上搜索后,我才知道,cygwin的是需要建立NDK项目。我已经下载了Cygwin的必要的文件,但是我是空白的下一步。即步骤如何建立cygwin的终端上我的NDK文件,然后将它们包括我的日食Android项目。请帮我这些步骤。将AP preciated!

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!

推荐答案

如果您使用的是最新版本NDK你不需要cygwin的。只要运行附带了NDK NDK-build.cmd 的Windows命令文件。这是一个方式,从NDK版本开始8.

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.

研究OVERVIEW.html在Android的NDK /文档子目录。也有是在Android的NDK,研究HELLO-JNI在那里,并尝试建立并运行它一个样本子目录。也有一本书的Andr​​oid NDK入门指南看看它的净它基本上涵盖了

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

这篇关于建筑NDK项目配置Cygwin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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