Cocos2d-x v3.17.1 released!

Cocos2d-x v3.17.1 released!
0

#1

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

Downloads


#2

#3

seems great!


#4

Please check this


#5

How CMake prebuilt feature will work on this version?


#6

https://docs.cocos2d-x.org/cocos2d-x/en/installation/CMake-Guide.html?h=cmake


#7

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


#8

@drelaptop can tell us about any changes.


#9

Remove usage of this variable.
Please check:
https://developer.android.com/studio/releases/gradle-plugin
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


#10

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

com.android.tools.build:gradle:3.2.1

Getting

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

New test project.


#11

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


#12

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 setup.py 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?