IzzyJM
February 3, 2019, 4:10am
#1
Hello everyone I just made the upgrade to cocos2d-x v3.17.1, which NDK version is everybody using on 3.17.1 ?? version r16b or the latest (r19) ??
I’m using latest r19.
But I didn’t publish it yet to Play Market (currently on market game built with r17c)
1 Like
IzzyJM
February 3, 2019, 4:14am
#3
ok sounds good, if its building fine everything should work then when its on the market right ?
Should but who knows, on market plenty of different devices
1 Like
I’m using r16 because as i know, is the last version tested by cocos team. Or i’m wrong?
cocos2d-x-3.17.1 Nov.19 2018
[REFINE] Renderer: properly reduce clear buffer times to save energy
[REFINE] Engine: improve the reuse logic of sprite frames cache
[REFINE] Engine: add `GLView::setCursor` for desktop platforms
[REFINE] Engine: add methods to change icons for desktop platforms
[REFINE] UI: improve iPhone X home indicator handling behavior
[REFINE] UI: add line spacing support for system font on iOS and Android
[REFINE] UI: add support for pressed and disabled image in EditBox
[REFINE] UI: shrink extra label text if too long, prevent label too long crash
[REFINE] LUA: add binding code for cocos2d::Downloader
[REFINE] Android: add supporting SafeArea for most edge screens devices
[REFINE] Android: change default value of PROP_BUILD_TYPE from ndk-build to CMake
[REFINE] Android: update project config to gradle 4.6, sdk 28, android gradle plugin 3.1.0
[REFINE] Android: add ability to not stop music on game start in android
[REFINE] Windows: refine CCDevice-win32 BitmapDC
[REFINE] Windows: improve binary folder structure, copy resources to "Resources/" folder
[REFINE] Action: add ui::LoadingBar support to Progress actions
[REFINE] Network: support multiple parameters in SocketIO emit/send method
[REFINE] FileUtils: improve thread safety (use single recursive_mutex)
This file has been truncated. show original
1 Like
You should use the same what was used to build cocos: ndk16.
“All libraries should be generated with the same NDK version.”
https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md#using-mismatched-prebuilt-libraries
IzzyJM
February 3, 2019, 5:50pm
#7
is it possible to see which NDK was used for 3.17.1 ?
I think it might be r18b since the new template has minSDK at 16 , and api 14&15 were removed in r18b
IzzyJM
February 10, 2019, 11:45pm
#9
I see what you mean in the link but I think it means not to use 2 different NDKs to compile your project ? so if cocos team used NDK 16 to compile , but you use NDK 19 to compile your project it will be ok ? (correct me if im wrong)
The saftest option: compile everything (including cocos2dx prebuilds) in exactly the same environment: the same ndk, compiler, compiler options etc
Using different ndks may work or not …
1 Like