Hello, just a quick topic. Cocos2d-x android development is more and more harder nowadays.
If you, like me, are using prebuilt libraries, which makes the app (project, not the final apk) way smaller, compilation way faster and general management of multiple apps way better, you may become more and more frustrated about cocos2d-x android development.
Here comes the world of Android hacks.
- I have to use old NDK r13b, because it won’t work on newer ones (doesn’t matter if you’re using prebuilt or not). It’s now NDK r15 and still, nothing changed.
- I have to use old build tools to use gen-libs, because there’s no “android” command anymore. So I have to switch directories back and forth. For “normal” development it’s working fine with latest build tools because I’m running app through gradle (android studio) directly.
- While using gen-libs I have to add a parameter “–ap android-19”, because API > 19 broken compatibilities. I see, that’s not cocos team fault, but it’s now API level 26 and still, there’s nothing that can be done about it.
All this stuff is pretty old, have been reported at least few times each and we didn’t get any “real” fix.
As a developer, I’d like to use latest tools and SDKs, but these problem are getting more and more problematic.
I’d like to please cocos2d-x team to fix these problems. I’m experienced with cocos2d-x, so I’ll manage somehow, but new developers won’t be happy encountering the same problems again and again.
Have a good day.