I am seeing an issue with v3.13.1, but not v3.11.1. I’ll talk with the engineering team about this. I started a GitHub issue for the issues I am seeing.
Thank you for your help. I downloaded cocos from github, updated deps, and run cocos gen libs for android and it works.
But on 3.13.1 downloaded from the site, python download-deps.py says everything is up to date. Here’s the diffs:
external/config.json version directly downloaded from site:
[FIX] Label color broken
[FIX] application will crash in debug mode if don’t specify a design resolution
[FIX] application may crash if coming from background by clicking application icon on Android
[FIX] AudioEngine can not play audio if the audio lies outside APK on Android
[FIX] AudioEngine::stop() will trigger finish callback on Android
[FIX] application will crash if using SimpleAudioEngine or new AudioEngine to play audio on Android 2.3.x
[FIX] object.setString() has not effect if passing a number on JSB
[HIGHLIGHT] add VR plugin
[HIGHLIGHT] support ETC1 alpha channel
[HIGHLIGHT] fix AudioEngine performance for Android 4.2+
[HIGHLIGHT] improve canvas renderer performance with dirty region
[HIGHLIGHT] add Andorid arm-64 support
[HIGHLIGHT] use luajit for Android arm-64
[HIGHLIGHT] switch to use gcc 4.9
[HIGHLIGHT] upgrade CURL to 7.50.0
[HIGHLIGHT] upgrade Spine to 3.4
[HIGHLIGHT] upgrade glfw to 3.2
looks like v3.13 has higher external libraries version of 3.13.1. is that correct? Or shall i upgrade v.3.13 libs to v. 3.13.1 simply?
Thank you again
I was able to run the command and generate libs, at last. Looks like it was something about my setup. Ndk not in the expected directory ‘ndk-bundle’ under android installation gave out an error, i changed it back.
It worked in 3.13.1, and gave out the usual
-rw-r–r-- 1 max staff 118900264 Sep 15 13:41 libcocos2d iOS.a
-rw-r–r-- 1 max staff 58383456 Sep 15 13:41 libjscocos2d iOS.a
-rw-r–r-- 1 max staff 27467712 Sep 15 13:41 libluacocos2d iOS.a
-rw-r–r-- 1 max staff 3900264 Sep 15 13:41 libsimulator iOS.a
under ios and mac, and an exploded format library for android, that is
-rw-r–r-- 1 max staff 71451496 Sep 15 13:42 libcocos2dxinternal.a
-rw-r–r-- 1 max staff 2177714 Sep 15 13:42 libcocos2dandroid.a
-rw-r–r-- 1 max staff 8 Sep 15 13:42 libcocos2d.a
-rw-r–r-- 1 max staff 19640504 Sep 15 13:42 libbullet.a
-rw-r–r-- 1 max staff 3114980 Sep 15 13:42 libbox2d.a
-rw-r–r-- 1 max staff 4835998 Sep 15 13:42 libaudioengine.a
-rw-r–r-- 1 max staff 9278426 Sep 15 13:42 flatbuffers.a
-rw-r–r-- 1 max staff 14816604 Sep 15 13:42 libui.a
-rw-r–r-- 1 max staff 1969948 Sep 15 13:42 libspine.a
-rw-r–r-- 1 max staff 9082592 Sep 15 13:42 libsimulator.a
-rw-r–r-- 1 max staff 1576208 Sep 15 13:42 librecast.a
-rw-r–r-- 1 max staff 4523018 Sep 15 13:42 libnetwork.a
-rw-r–r-- 1 max staff 336006 Sep 15 13:42 libluacocos2dandroid.a
-rw-r–r-- 1 max staff 49427190 Sep 15 13:42 libluacocos2d.a
-rw-r–r-- 1 max staff 252382 Sep 15 13:42 liblocalstorage.a
-rw-r–r-- 1 max staff 387522 Sep 15 13:42 libjscocos2dandroid.a
-rw-r–r-- 1 max staff 76017402 Sep 15 13:42 libjscocos2d.a
-rw-r–r-- 1 max staff 38007318 Sep 15 13:42 libextension.a
-rw-r–r-- 1 max staff 40478 Sep 15 13:42 libcpufeatures.a
-rw-r–r-- 1 max staff 42797776 Sep 15 13:42 libcocostudio.a
-rw-r–r-- 1 max staff 355756 Sep 15 13:42 libcocosdenshion.a
-rw-r–r-- 1 max staff 9469480 Sep 15 13:42 libcocosbuilder.a
-rw-r–r-- 1 max staff 13583794 Sep 15 13:42 libcocos3d.a
is that normal? isn’t that way in older versions, is it?
So, @slackmoehrle I do not give up. However, really I’m struggling already 3rd day, just trying to set up this and build for android.
I don’t see any explanation of my problems, but only this - it’s feels like you never tested latest cocos2d-x on macOS, right? Didn’t check for setup & build etc.? Because main target is windows?
Also, why when I creating project with static libs I get no proj.android-studio inside my project. But if I create new project using source code I get this folder and I can probably try open it in Cocos Studio? Right? And how I can use Eclipse? Old tutorials and docs are not working … omg Please help!!! Better in my initial thread - Need help getting started with Cocos2d-x to build for iOS & android