An error occurred in the android environment of cocos2dx 2.0.2: cannot find module with Tag 'cosdenshion/android' in impor

Source: Internet
Author: User

The following error occurs when creating an eclipse environment:

Android ndk: JNI/Android. mk: cannot find module with Tag 'cosdenshion/android' in import path
Android ndk: Are you sure your ndk_module_path variable is properly defined?
Android ndk: The following directories were searched:
Android ndk:
JNI/Android. mk: 19: *** Android ndk: Aborting... Stop.

Solution:

Add the path to the project proj. Android \ JNI \ Android. mk (E: \ research \ cocos2d \ cocos2d-2.0-x-2.0.2 \ gamethieves \ proj. Android \ JNI \ Android. mk) file:

$ (Call import-add-path, E: \ research \ cocos2d \ cocos2d-2.0-x-2.0.2 )\
$ (Call import-add-path, E: \ research \ cocos2d \ cocos2d-2.0-x-2.0.2 \ cocos2dx \ platform \ third_party \ Android \ prebuilt )\

$ (Call import-module, cocosdenshion/Android )\
$ (Call import-module, cocos2dx )\
$ (Call import-module, extensions)

$ (Call import-add-path,/users/Kunda/Android-sdks/cocos2d-2.0-x-2.0.2)

\

$ (Call import-add-path,/users/Kunda/Android-sdks/cocos2d-2.0-x-2.0.2/cocos2dx/platform/third_party/Android/prebuilt)


\

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.