什么是Cygwin和如何在Android的NDK关系用它 [英] What is Cygwin and how to use it in relation in Android NDK

查看:346
本文介绍了什么是Cygwin和如何在Android的NDK关系用它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我是新到Android NDK Devlopment.I下载的Andr​​oid NDK 4窗户向通过docs.But看我是不是说清楚。

Hi I am new to android NDK Devlopment.I downloaded Android NDK 4 for windows.I read through the docs.But i am not clear with it.

第一件事是,我想开发这可能是本机文件c 0R C ++,我认为使用Cygwin会来play.I不要有任何想法或如何使用cygwin的。从文档我刚才读Cygwin的是它从Windows所需的platform.Apart,我没有任何关于它的知识。

First thing is that,I want to develop the native file which may be c 0r c++.I think Using Cygwin will come to play.I dont have any idea or how to use cygwin .From the Docs i just read Cygwin is required for Windows platform.Apart from it ,i dont have any knowledge about it.

尚未开始与NDK Concepts.Help要求

Not yet started with NDK Concepts.Help Required

推荐答案

Cygwin的是一种方法,让Windows支持一些Linux的功能。如果您在Windows计算机上安装Cygwin你可以在Windows上运行(你必须要,虽然特别重新编译它Cygwin的)一些Linux软件。它这里 你可以找到它,了解更多信息。这里还有在维基页面一个很好的解释。

Cygwin is a way to make Windows support some linux functionality. If you install cygwin on your windows machine you'd be able to run some linux software on windows (you'd have to recompile it especially for cygwin though). You can find it and more information about it here. There's also a good explanation at the wiki page here.

如果在Android NDK需要它,我想了Android NDK需要一些Linux的功能或工具才能正常工作。另一种选择可能是在那里的机器上安装Linux和运行Android NDK,因为我认为Linux是为Android NDK开发本地环境中,它可能会更好。

If the Android NDK needs it I suppose the Android NDK needs some linux functionality or tools to work properly. The other option might be to install Linux on a machine and run the Android NDK on there, it might be better since I assume Linux is the native environment for Android NDK development.

既然你说你是一个有点弄不清NDK,你应该知道,据我了解,你可以用它不能建立一个完整的Andr​​oid应用程序,你只能开发它的位,你仍然需要开发应用程序的至少一部分的Dalvik虚拟机,其中,因为据我所知,这意味着你必须用Java编写该位之上运行。总的来说,我认为你应该开发Android应用只能在Java中,除非有特殊原因,建立一个使用NDK的某些部分。

Since you're saying that you're a bit unclear about the NDK, you should probably be aware that as far as I understand you can not build a whole Android app using it, you can only develop bits of it, you will still need to develop at least part of the app to run on top of the Dalvik virtual machine, which, as far as I know, means that you'll have to write that bit in Java. In general I think that you should develop Android apps only in Java unless there is a specific reason to build certain parts of it using the NDK.

这篇关于什么是Cygwin和如何在Android的NDK关系用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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