Cocos2d-x v3.17.1 released!

Cocos2d-x v3.17.1 released!


Cocos2d-x v3.17.1 released!

The 3.17.1 release focuses on bug fixing.

Cocos2d-x 3.17.1 Release Notes

  • Fix Lua loading performance drop bug introduced in 3.17
  • Renderer limit glClear invoke times, reduce power consuming
  • optimize CMake script,fix some linking issues
  • Android use CMake as default PROP_BUILD_TYPE value
  • Android upgrade Gradle to 4.6, SDK 28, android gradle plugin 3.1.0
  • upgrade LuaJIT to 2.1.0-beta3, fix random crash in 3.17 Lua release mode
  • upgrade libwebsockets to 2.4.2
  • FileUtils provide thread-safe implementation and add missing cross-platform interfaces
  • limit Labels text length to fix render error
  • add Downloader binding to Lua

This release contains more than 45 bugs fixed and 34 misc improvements, please refer to ChangeLog




seems great!


Please check this


How CMake prebuilt feature will work on this version?



I noticed that PROP_BUILD_TOOLS_VERSION is no longer set, I can’t compile on android now. Is that intentional?


@drelaptop can tell us about any changes.


Remove usage of this variable.
Please check:
Build Tools 27.0.3 or higher. Keep in mind, you no longer need to specify a version for the build tools using the android.buildToolsVersion property—the plugin uses the minimum required version by default


I actually have a later version of built tools (28.0.3), I tried changing to


process_begin: CreateProcess(NULL, “”, …) failed.
C:/Temp/cocosnew/XXX/cocos2d/cocos/ *** Android NDK: Aborting. . Stop.
process_begin: CreateProcess(NULL, “”, …) failed.
C:/Temp/cocosnew/XXX/cocos2d/cocos/ *** Android NDK: Aborting. . Stop.

New test project.


Android NDK: C:/Temp/cocosnew/xxx/cocos2d/external/flatbuffers/ Cannot find module with tag ‘uv/prebuilt/android’ in import path


Did you download the cocos2d-x 3.17.1 from the official website or GitHub, if GitHub, you must update submodule, and re-download the external deps libs.

Another point, please confirm you have executed again to update cocos command line Env path, if the path is wrong you will copy wrong files when cocos new.

also you should check your <cocos2d-x>/external/uv/prebuilt/android path, do it existed?