你需要下载NDK。
So how does the NDK work on the emulator?
那么NDK在模拟器上如何呢?
The NDK release used in this tutorial is r4b.
本教程使用的NDK版本是r4b。
Learn how to install the Android NDK and begin using it.
学习如何安装AndroidNDK并开始使用它。
Download the NDK for your operating system from the Android site.
从Android网站下载适合你的操作系统的NDK。
The Release Notes detail all the improvements and bug fixes coming in NDK r7.
发布声明详述了所有改进和由ndkr7引入的Bug修复。
This has an interesting implication: an NDK solution will not work on all devices.
这其中有很有意思的潜在状况:NDK解决方案无法适用于所有的设备。
Selected system libraries will gradually be added to the set of stable NDK APIs.
所选择的系统库将逐渐添加到稳定NDKAPI集合中。
The tutorial begins with a high-level look at the NDK and its common usage scenarios.
本教程以NDK及其常用场景的概述开始。
Generally speaking, you only need to use the NDK if your application is truly processor bound.
总的来说,只有当你的应用程序真的是个处理器杀手的时候你才需要使用NDK。
Also make sure you are using NDK version r5c to build it, later versions seem to have problems.
还要确保你使用NDK版本该建造的,后来的版本似乎有问题。
So, if you're reading this tutorial, you may already be considering the NDK for your Android projects.
好,如果你正在阅读这篇教程,你也许已经在考虑在你的Android项目中使用nd K了。
On subsequent compiles, you can make sure everything is recompiled if you use the "ndk-build clean" command.
在之后的编译中,如果你使用“ndk - build clean”命令,那么你可以确保所有的东西都被重新编译了。
You will also learn how to extend the Eclipse build environment to integrate an NDK project into an Android SDK project file.
您还将学习如何扩展Eclipse构建环境以将NDK项目集成到AndroidSDK项目文件中。
Personally, I'd rewrite your command-line binary to be a NDK-built JNI-compatible library, for performance reasons, but that's just me.
就我个人而言,我会重写你的命令行的二进制是NDK JNI兼容建图书馆,因为性能的原因,但这只是我的。
And lastly, illustrates the network development kid (NDK) and methods of using, and gives the steps to apply NDK to network transporting.
最后,详细说明了网络开发中用到的开发工具NDK及其使用方法,并且给出网络实现的具体步骤和部分程序。
To conclude, the Eclipse build environment is customized to integrate the NDK tool chain directly into the easy-to-use Eclipse build process.
最后,自定义eclipse构建环境来将ND k工具链直接集成到易用的Eclipse构建流程中。
One of the motivations for exploring the NDK in the first place is the opportunity to leverage open source projects, many of which are written in C.
首先,了解 Android 原生开发工具包(NDK)的动机之一是得以利用开源项目,大多数项目都是用C 语言编写的。
The code requires version r4b or later because the image handling capabilities of the Android NDK are not available in prior releases of the NDK.
代码要求使用版本r4b或更高版本,因为在之前的NDK版本,Android NDK没有图像处理功能。
However, we'd like to take a moment to talk about why the NDK is important, when it should be used, and-just as importantly, when it should not be used.
不过,我们想要花点时间讨论一下NDK为什么那么重要、何时该使用它,以及——同等重要的,何时不该使用它。
This will launch the NDK build scripts, which will automatically probe your development system and application project file to determine what to build.
这将启动ND K构建脚本,它将自动地探测你的开发系统和应用程序工程文件以决定构建什么东西。
From the command line (Windows users, you'll want to do this within Cygwin), you'll need to run the ndk-build command from the root directory of your project.
在命令行下(Windows用户在cygwin下),你需要在你的项目的根目录下运行ndk - build命令。
If the Android NDK provides the proper capabilities for bringing the mobile version of Firefox to Android, that would only be the second mobile platform that Fennec supports.
如果开发包有能力为火狐手机版登陆Android提供适当的条件,Android便将成为第二个支持Fennec的手机平台。
The script is located at the top-level directory of the NDK, and shall be invoked from the command-line when in your application project directory, or any of its sub-directories.
脚本位于NDK的顶级目录,并且将在你的应用程序工程目录,或它的任意子目录中的命令行调用。
The script is located at the top-level directory of the NDK, and shall be invoked from the command-line when in your application project directory, or any of its sub-directories.
脚本位于NDK的顶级目录,并且将在你的应用程序工程目录,或它的任意子目录中的命令行调用。
应用推荐