Introduction to the Android NDK directory

Source: Internet
Author: User

Cross-compiling

Compiling native code that can be executed on another platform on one platform

CPU Platform---ARM x86 MIPS

Operating system platform---Windows Linux Mac OS

Principle simulates the characteristics of different platforms to compile code

JNI development tool: NDK---Native develop kit

NDK Directory

docs--Help Documentation

platforms--many platform version folders, select the folder that corresponds to the minimum version number supported by the project

A resource file with different CPU schemas is placed in the folder for each version number

Click on one of the Android versions to go into the \arch-arm\usr\lib directory:

Include folder the. h header files commonly used in the development of JNI


Lib folder the. So file that Google has packaged for developers to use


Samples Google's official sample project, you can refer to the development

Android-ndk-r9d\build\tools batch files under the Linux system, which are automatically called when cross-compiling

Ndk-build Cross-compiled commands

Add the decompression path directly to the environment variable, my path is: D:\NDK\android-ndk-r9d\ndk-build.cmd

CDT Eclipse Plugin highlighting C code C code hints

Introduction to the Android NDK directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.