Recommended Apache Ant and Android NDK versions for 3.15.1

Recommended Apache Ant and Android NDK versions for 3.15.1
0.0 0

#1

What are the recommended Apache Ant and Android NDK versions for 3.15.1?

Is it stated somewhere in the release notes?


#2

+1
I think that for every cocos2d-x release we should have strict (with exact version) list of android dependencies.

In that way cocos2dx developers and users will have the same environment and the same problems/bugs.

Something like ndk 12b+.

Regards,
Chp


#3

In https://github.com/cocos2d/cocos2d-x it says “NDK r11+ is required to build Android games”. But in http://cocos2d-x.org/docs/editors_and_tools/creator-chapters/publish/cocos-framework/index.html#download-sdk-and-ndk-which-are-needed-for-the-android-platform-release, when you click the NDK download link you get NDK r10e.
And here: Android Studio support, users say they use r13b or r14 with cocos v3.15 depending on Android Studio version.
I guess you should use whatever is working for you!


#4

I’m sorry to revive this topic, but as a person new to cocos I have run into problems when using NDK r16 + Android 22. I will try today with old version as r11, but it would be great if “tried and tested NDK version” would be recommended in the documentation instead of “11+”.

In case NDK development would go astray cocos users would have something to hold on.


#5

I have:
Android Studio 3.0.1
android-ndk-r14b
PROP_TARGET_SDK_VERSION=22
cocos2d-x-3.16
and everything is fine with cpp or js project


#6

Many thanks! Works like a charm :slight_smile: This should be added to the documentation.


#7

Android Studio 3.1 Canary 5
NDK 16.1.4479499
Target 27
minSDK / NDK compile version 19
cocos 3.16

this is the bleeding edge and it’s working.


#8

:smiley: risky configuration )


#9

I know, but I’m the early adopter in the company and I test the newest stuff. If it breaks, I revert to the version before that. I also had Android 8.1 (the latest Android - API27) on my Pixel XL phone, so I can test this also.