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目錄例如如果如下結構