带有 Visual Studio 的 Android NDK [英] Android NDK with Visual Studio

查看:20
本文介绍了带有 Visual Studio 的 Android NDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 NDK(本机开发工具包)为 android 构建一些本机库,但我想使用 Visual Studio 2010 来完成.我用谷歌搜索了很多,但没有找到任何关于它的信息.有没有人有这方面的经验并知道实现这一点所需的步骤?我已经安装了 CYGWin,确保我得到了 Make(根据 NDK 指令),但我不太确定下一步在设置项目、Visual Studio 中的编译器等方面.

I'd like to build some native libraries for android using the NDK (native development kit), but i'd like to use Visual Studio 2010 to do it. I've googled quite a bit but haven't found any information on it. Does anyone have any experience with this and know the steps necessary to make this happen? I have CYGWin installed, made sure i get Make (per the NDK instructions), but i'm not really sure of the next steps in terms of setting up the project, compiler in visual studio, etc.

如果有人知道任何文章、教程或示例项目的链接,那就太好了,因为在 google 上还没有.

If anyone knows of any write-ups, tutorials, or links to sample projects, that would be awesome, as there isn't much on google yet.

谢谢!

推荐答案

这是另一个解决方案,它将 NDK 完全集成到 Visual Studio 中.没有生成文件.它的行为就像一个正常的 Win32 项目:

Here's another solution, which integrates the NDK fully within Visual Studio. No makefiles. It behaves like a proper Win32 project:

这篇关于带有 Visual Studio 的 Android NDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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