I am new to Cocos2DX (and this forum) and very interested in creating android games with this framework. (That’s a start )
I work on Linux (Ubuntu 12.10 to be precise) and here is my problem :
After all the configurations (JDK, SDK, NDK, Eclipse and ADT / CDT Plugin) I find myself with an eclipse project that contains the android project of Cocos2d-x as well as the C++ classes.
It took me quite a while to get everything up and running but now it’s okay! Well, kind of…
I build inside eclipse (with a custom command that launches the “build_native.sh” with “NDK_ROOT=1 V=1” params), thus I can do everything inside Eclipse (coding, building, installing on the phone) which is kind of cool, but my problem is that :
# The build time is extremely long. It builds all cocos every single time ! (It should be only for the first one, but it is not…) Well, that is just my guess of why it is so slow.
# Once the application is installed on the phone, if I change something, build (slow!) and install it, the application does not launch automatically… I don’t know if it as anything to do with Cocos2d-x or my phone…
So, do you have the same problem (I hope not)? And do you have any advice or solution to that build time being so slow (I do hope so?
I searched the forum and only find the following thread : http://www.cocos2d-x.org/boards/6/topics/2373. And it says that Cygwin is slow to build... But I am using linux so that should be a lot faster :o
All help is welcome )
Thank you for your time !