Cocos2d-x 3.2 Compile build Android program error running command, return Code:2 workaround

Source: Internet
Author: User

Create the project with Cocos2d-x 3.2 official version, the results using Cocos compile-p Android compiled APK program, the result is tragic, the following error occurred.

Android ndk:invalid App_stl value:c++_static


Android Ndk:please Use one of the following Instead:system stlport_static stlport_static_hard stlport_shared stlport_sh Ared_hard gnustl_static gnustl_shared gabi++_static gabi++_shared libc++_static libc++_shared None

make:entering directory '/game/physics_engine/proj.android '

/sdk/ndk/android-ndk-r9c/build/core/add-application.mk:274: * * * Android ndk:aborting. Stop.

make:leaving directory '/game/physics_engine/proj.android '

Error running command, return Code:2

Solution:

The cause of the problem is that the ANDROID-NDK version is too low to update to the latest NDK.

Cocos2d-x 3.2 Compile build Android program error running command, return Code:2 workaround

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.