Eclipse's NDK environment initial development build test NDK_R10

Source: Internet
Author: User

This thing is difficult, not good for a few days, feeling still do not understand

But it doesn't matter, choose the record a little bit, and then study

The first choice of these NDK environment, the official network has down directly decompression on the good

The eclipse tools are configured directly

1, choose the NDK environment configuration to the tool

(I go to upload the following batch of pictures are tired of me, the picture is too big also let me a piece of cut)

2, import the official Hellojni project

3. Modify the SDK with minimum support

4. After successful import, add native support

5, compile the project, package the so file

6, run the project, successful display

7, when open HELLO-JNI.C file found all over the line red, this is because the C syntax is not supported, need to import

8. Click the Project Right button

9, after the successful import can be normal editing

Eclipse's NDK environment initial development build test NDK_R10

Related Article

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.