NDK

NDK

 英

  • 网络Network Developer's Kit; 原生开发工具包(native development kit); 原生开发套件(Native Developmetn Kit)

例句

ndk-gdb will not work if you try to run your application on previous versions of the system.

如果尝试运行应用程序之前版本系统ndk-gdb工作

One of the first applications to use the NDK was a breakout style game made by the developer Aki.

首个使用NDK应用就是开发者Aki编写越狱风格游戏

By default, ndk-gdb will search for an already-running application process, and will dump an error if it doesn't find one.

默认情况,ndk-gdb搜索一个运行应用进程如果转储一个错误

If your application runs on a platform older than Android 2. 3, ndk-gdb will not be able to debug native threads properly.

如果应用程序运行Android2.3一个平台上实际上ndk-gdb能够调试本地线程

ndk-gdb aborts if it finds that another native debugging session is running on the same device.

默认情况如果找到其它本地调试会话运行相同设备的话ndk-gdb中止

The NDK allows you to create a "customized" tool chain installation to make life easier.

NDK允许创建一个定制工具设置使生活轻松

If you are not, you will only be able to debug the main thread (as in previous NDK releases).

如果不是上述情况能够调试主线之前NDK发布版)。

and stick to the NDK build system instead, which will handle all the details for you.

如果上述毫无感觉或许最好使用独立工具固守NDK生成系统处理全部细节

So, if you're reading this tutorial, you may already be considering the NDK for your Android projects.

如果正在阅读教程也许已经考虑Android项目使用NDK

This document describes how one can modify the NDK and generate new experimental release packages for it.

本文介绍如何修改NDK生成试验性发布

At this point, you may want to add the NDK tools to your path.

现在也许想要路径设置添加NDK工具

Only needed to debug problems when you can't connect and that the error messages printed by ndk-gdb are not enough.

可以连接ndk-gdb打印错误信息不能满足需要用来调试问题

And lastly, illustrates the network development kid (NDK) and methods of using, and gives the steps to apply NDK to network transporting.

最后详细说明网络开发开发工具NDK及其使用方法并且网络实现具体步骤部分程序

The tutorial moves on to introduce the Java Native Interface (JNI), which is the technology of interest when working with the NDK.

随后教程介绍Java本地接口JNI),使用NDK感兴趣一种技术

The tutorial begins with a high-level look at the NDK and its common usage scenarios.

教程NDK及其常用场景概述开始

You can install NDK modules outside of your main project source tree.

可以安装NDK模块工程文件外面

Where $NDK points to your NDK installation path. You can also create an alias or add $NDK to your PATH to avoid typing it every time.

这里$NDK指向NDK安装目录可以创建一个别名或者添加$NDKPATH环境变量避免每次键入PATH区分大小)。

The NDK is a suite of tools that enable developers to create native code executables and shared libraries.

NDK一个工具套件开发者可以凭借创建本地代码可执行文件共享程序

provided with the Android NDK as a standalone compiler.

使用AndroidNDK提供工具作为一个独立编译现在可能

which also removes all intermediate files and directories from $NDK.

同样$NDK移除全部中间文件目录

That said, using the NDK is still a process that is prone to problems and issues even if you consider yourself a mobile development veteran.

也就是说即使认为自己移动开发老手使用NDK依然容易碰到困难麻烦

Generally speaking, you only need to use the NDK if your application is truly processor bound.

总的来说只有应用程序处理器杀手时候需要使用NDK

This application is a mix of SDK-based Java code and NDK-compiled C code.

应用程序混合使用基于SDKJava代码NDK编译C代码

The Release Notes detail all the improvements and bug fixes coming in NDK r7.

发布声明详述所有改进NDKr7引入Bug修复

ndk-gdb will use local TCP port 5039 to communicate with the debugged application.

默认情况,ndk-gdb使用本地TCP端口5039来调试应用程序通讯

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项目文件

Another reason to use the NDK is for ease of porting.

另一个使用NDK原因方便移植

The NDK will complain if this is not the case.

如果不是这种情况的话NDK出问题

Now that the NDK is downloaded (it is, right? ), you need to unzip it.

既然NDK已经下载完成没错吧?),需要解压缩

You need to download the NDK.

需要下载NDK

On subsequent compiles, you can make sure everything is recompiled if you use the "ndk-build clean" command.

之后编译如果使用“ndk-buildclean”命令那么可以确保所有东西重新编译

The Android NDK is a complement to the Android SDK that helps you to:

AndroidNDK对于AndroidSDK一个补充帮助

The Application of NDK Series Microcomputer (Intelligent) Control System for Low Voltage Generator Set

NDK系列低压机组微机傻瓜控制系统水电站技术改造应用

This will instruct the NDK to build two versions of your machine code:

指示NDK生成两个版本机器代码

The Android NDK provides you with two choices to implement your native activity:

AndroidNDK提供两个选择实现本地活动

Application of NDK in Video Transmission System

NDK视频传输系统应用

The generated NDK package release will have a name that looks like:

产生NDK发布一个看起来如下一个名字

All paths in these flags should be relative to the top-level NDK + directory. For example, if you have the following setup:

这些标志全部路径相对顶级NDK目录例如如果如下结构