Cocos2d-x 2.x Project Ndk_root path and environment variable inconsistency problem

Source: Internet
Author: User

Today copied the other people created Cocos2d-x 2.2.3 project, but run, the access to the Ndk_root path is not set on my computer environment variables inside the NDK_ROOT path!!!

Looking for a long day, finally found!! Next, Share my solution:

Right click on the root directory of the Android project that eclipse imported (my project name is Shootlite25_npay)

Select Properties--> to select C + + build->environment

, double-click ndt_root-> in value to enter the path of your own NDK:

Click on a series of OK, run the project is OK

Cocos2d-x 2.x Project Ndk_root path and environment variable inconsistency problem

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.