转:http://www.cnblogs.com/fww330666557/archive/2012/12/14/2817385.html 一.What is the NDK? The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications. Android applications run in the Dalvik vir…